> I add the #include <sql.h> into a program to experiment with the
> interaction with Microsoft SQL, I added NO code
> to use anything within the module yet. Just recompiled to make sure
> everything I need to use it is available.
> Apparently not...
At a guess, #include <windows.h> first. This invariably seems to be the
solution to problems involving the Windows types. I could be wrong