In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Problem with Xailer.h

Xailer professional forum in English
Responder
Guest

Problem with Xailer.h

Mensaje 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Problem with Xailer.h

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Guest

Problem with Xailer.h

Mensaje por Guest »

.....aaaaand, it compiles, aside from an unresolved external, which is
the fault of my prg code. Thanks, Jose.
Regards,
DC
Responder