Hi all,
I am using CVI 8.0.0 under Windows XP.
I am trying to include an .h file in my main program. The .h file has this following line:
HeapAlloc (GetProcessHeap (), HEAP_ZERO_MEMORY, size);
Therefore, I am including windows.h. It is working well but when I add this .h file to my project, this file is compiled before winbase.h and therefore, I become a "Missing Prototype" error at that line and then a "Redeclaration of HeapAlloc" in winbase.h. It seems that the compile hierarchy changes somehow.
Do you have any suggestions?
Thanks