Página 1 de 1

Problem with Xailer.h

Publicado: Sab Mar 05, 2011 1:19 am
por Guest
Trying to compile some c code, inside of Xailer.
I removed all of the c code, and left only the statement
#include "Xailer.h"
, and receive the following errors:
Compiling: test.c...
Error E2147 C:Xailer2Includecore.h 19: 'DWORD' cannot start a
parameter declaration
Error E2147 C:Xailer2Includecore.h 20: 'HWND' cannot start a
parameter declaration
Error E2303 C:Xailer2Includecore.h 20: Type name expected
Error E2147 C:Xailer2Includegraphics.h 18: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 18: Type name expected
Error E2141 C:Xailer2Includegraphics.h 19: Declaration syntax error
Error E2141 C:Xailer2Includegraphics.h 20: Declaration syntax error
Error E2141 C:Xailer2Includegraphics.h 21: Declaration syntax error
Error E2147 C:Xailer2Includegraphics.h 23: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 23: Type name expected
Error E2147 C:Xailer2Includegraphics.h 24: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 24: Type name expected
Error E2147 C:Xailer2Includegraphics.h 25: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 25: Type name expected
Error E2147 C:Xailer2Includegraphics.h 26: 'HANDLE' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 26: Type name expected
Error E2147 C:Xailer2Includegraphics.h 27: 'HANDLE' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 27: Type name expected
Error E2141 C:Xailer2Includegraphics.h 30: Declaration syntax error
Error E2147 C:Xailer2Includegraphics.h 31: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 31: Type name expected
Error E2147 C:Xailer2Includegraphics.h 32: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 32: Type name expected
Error E2147 C:Xailer2Includegraphics.h 33: 'HDC' cannot start a
parameter declaration
Error E2303 C:Xailer2Includegraphics.h 33: Type name expected
Error E2228 C:Xailer2Includegraphics.h 33: Too many error or warning
messages
1 Files, 0 Warnings, 26 Errors
Compile time: 0.30s Link time: 0s Total time: 0.31s

Problem with Xailer.h

Publicado: Sab Mar 05, 2011 1:47 pm
por jfgimenez
DC,
> Trying to compile some c code, inside of Xailer.
>
> I removed all of the c code, and left only the statement
>
> #include "Xailer.h"
>
> , and receive the following errors:
You need to put an #include "windows.h" just before the #include "xailer.h"
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Problem with Xailer.h

Publicado: Sab Mar 05, 2011 3:54 pm
por Guest
.....aaaaand, it compiles, aside from an unresolved external, which is
the fault of my prg code. Thanks, Jose.
Regards,
DC