I got a similar problem. It looks like followings:
test.c - 10 errors
"BASETSD.H"(157,17) syntax error; found 'identifier' expecting ';'.
"BASETSD.H"(165,26) Redeclaration of '__int64'.
"BASETSD.H"(165,26) syntax error; found 'identifier' expecting ';'.
"BASETSD.H"(166,26) syntax error; found 'identifier' expecting ';'.
"BASETSD.H"(167,26) syntax error; found 'identifier' expecting ';'.
"WINNT.H"(523,10) syntax error; found 'identifier' expecting ';'.
"WINNT.H"(530,5) Undeclared identifier '__asm'.
"WINNT.H"(530,14) syntax error; found '{' expecting ';'.
"WINNT.H"(531,9) Undeclared identifier 'mov'.
"WINNT.H"(531,17) syntax error; found 'identifier' expecting ';'.
Any time I attach the inifile instrument driver in my project these errors appear. This also happen when I put #include <windows.h> on top of my .c file.
Actually in my project I wana write some strings into the ini file of my controller card (PMDi). But the Ini_PutString function of the inifile driver writes the unwanted double quotes into my ini file. So I have to modify the .c file of the driver (just change TRUE to FALSE in the Ini_Put function, i did't do anything with other things in the file).
In addition, the funny thing is that when I write a very simple programe, which has only 2 bottons, and attach the same modified driver, it work properly (with #include <windows.h>, meaning no error when compiling, and it writes the string into the ini file without the double quotes.
Can anyone please help me solve the problem.
Thanks a lot.
Best regards.