José, at compilation of an example the error stands out:
Error 460 in D:\PB_MYPROG\FREEIMAGE\FREEIMAGECTX.INC(50:047): Undefined equate
Line 50: wcex.hInstance = GetModuleHandle(BYVAL %NULL)
You must not be using the latest FreeImage.inc. Anyway, add #INCLUDE "win32api.inc" at the beginning of your program.
Thanks. I thought of this. But in this case there are double announcements.
For example:
Error 468 in C:\PROGRA~1\POWERB~1.0\POWERB~1.0\WINAPI\WINNT.INC(195:046): Duplicate equate
Line 195: %ERROR_SEVERITY_WARNING = &H80000000???
My examples for PBWIN 9.x use my include files, available at: http://www.jose.it-berater.org/smfforum/index.php?topic=3189.0
You can't mix them with the ones provided with the compiler:
Quote
Unzip the attached file to a folder of your choice and replace the PB Include path in the PB Ide or the editor that you are using to that folder instead of C:\PBWin90\WinApi.
The problem is solved, thanks.