Hi guys
Just tried the following on my linux laptop
dialog.c is
#include <windows.h>
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine,
int nCmdShow)
{
MessageBoxW(0, L"HELLO!", L"H3LLO!", 0);
}
I compiled with
arm-wince-pe-gcc -o dialog.exe dialog.c
as per example. However I end up with the error
dialog.c:1:21: windows.h: No such file or directory
dialog.c:3: error: parse error before "hInstance"
Any ideas as to what I'm doing wrong? Do I need to have the include
directories in a certain place? Or can I use those from mingw32, kdevelop,
etc
James
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel