On Sat, Oct 28, 2006 at 09:35:23PM +0100, Pedro Alves wrote:
> Is this kevin2? :)

Yes.  We've talked briefly on IRC before.

> You can also try building using the alternative scripts under src/
> cd into src/ and just type ./build-mingw32ce.sh
> 
> It should build also the c++ compiler.

Okay.  That seems to work.  The build still fails when it gets to gdb,
but that's not really a problem for me.  Haret seems to run fine with
the new compiler.

I did need to apply the following patch to winuser.h to get it to
compile okay.  I just cut and paste the relavent code from the
videolan files - I don't really know whether it is correct or not.

Thanks,
-Kevin


--- w32api/include/winuser.h    (revision 750)
+++ w32api/include/winuser.h    (working copy)
@@ -3463,14 +3463,24 @@
 WINUSERAPI BOOL WINAPI DestroyIcon(HICON);
 WINUSERAPI BOOL WINAPI DestroyMenu(HMENU);
 WINUSERAPI BOOL WINAPI DestroyWindow(HWND);
+#ifdef UNDER_CE
+#define DialogBoxParamA(i, t, p, f, o)    \
+    DialogBoxIndirectParamA(i,   \
+        (LPCDLGTEMPLATE)LoadResource(i, FindResource(i, t, RT_DIALOG)), p, f, 
o)
+#define DialogBoxParamW(i, t, p, f, o)    \
+    DialogBoxIndirectParamW(i,   \
+        (LPCDLGTEMPLATE)LoadResource(i, FindResource(i, t, RT_DIALOG)), p, f, 
o)
+#endif
 #define DialogBoxA(i,t,p,f) DialogBoxParamA(i,t,p,f,0)
 #define DialogBoxW(i,t,p,f) DialogBoxParamW(i,t,p,f,0)
 #define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA(i,t,p,f,0)
 #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0)
 WINUSERAPI int WINAPI 
DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
 WINUSERAPI int WINAPI 
DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
+#ifndef UNDER_CE
 WINUSERAPI int WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
 WINUSERAPI int WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
+#endif
 WINUSERAPI LONG WINAPI DispatchMessageA(const MSG*);
 WINUSERAPI LONG WINAPI DispatchMessageW(const MSG*);
 WINUSERAPI int WINAPI DlgDirListA(HWND,LPSTR,int,int,UINT);

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to