You also might want to start - after taking into account the prior post - by posting this on the C forum, not the C++ forum.