Hello!
I'm using the newest/actual version of Pelles (4.5) and this is my problem:
I wanted to include the psapi.h and these errors where showed:
(Sry I had to upload it because otherwise it would be to much charackters for the post)
http://pastebin.com/m4e26e8e8
I already have activated the "/ZE-Option" under project options.
Where's the problem?
Is there a difference, including psapi.h into a dll(-project)?
Please help me,
nice greetings.
Have you included windows.h before psapi.h ?
Hello, thanks, now there's no problem with psapi.h;
but there's still a problem:
Now I got this error-messages:
POLINK: error: Unresolved external symbol '_EnumProcessModules'.
POLINK: error: Unresolved external symbol '_GetModuleBaseNameA'.
....although i included the libs in the Projectobjects and also made a "#pragma comment( lib, "kernel32.lib")".
with nice greetings
Did you link with Psapi.lib
John
Yes, in Project Options, but thank you :) your answere brouht me to an idea i also linked psapi.lib explicit and now it works ^^