Op dinsdag 10-07-2007 om 19:32 uur [tijdzone +0100], schreef Pedro
Alves:
> On 7/10/07, Erik van Pienbroek wrote:
> >
> > The configure script currently doesn't support building the wxWinCE
> > port. If you tell configure to use the wxMSW port, the compilation
> > fails due to a missing errno.h (which indicates that the wxMSW port
> > is really used instead of the wxWinCE port). It should be possible to
> > add support for wxWinCE in the configure script, but I haven't got to
> > that yet.
> >
> 
> That sounds like the right way to go.
> 
> > Another possibility to use wxWinCE with cegcc/mingw32ce is to build
> > the wxWinCE DLL's with Visual C++ Embedded 4.0 and to create
> > cegcc/mingw32ce compatible import libraries from those DLL's. That way
> > it should be possible to create wxWinCE based applications using
> > cegcc/mingw32ce while wxWinCE itself is build using Visual C++ Embedded
> > 4.0. This is what I am currently trying out.
> >
> 
> I know nothing wxWinCE, but if it is a C++ lib, this won't work.
> Mixing C++ from
> diferent compilers doesn't work.  Better build wxWinCE with mingw32ce.

Yes, you right. wxWinCE is a c++ library. I've now tried to patch
the configure script and the (bakefile-based) Makefile's.

wxWinCE now compiles fine, but the linking fails due to the
following missing functions :

ShellExecuteExW
LocalLock
LocalUnlock
GetCharABCWidthsW
PrintDlgW
EnumDisplaySettingsW
SHInitDialog
TrackPopupMenu
_TrackMouseEvent
ChooseColorW
WritePrivateProfileStringW
GetPrivateProfileStringW
GetProfileStringW
GetWindowsDirectoryW
GetPrivateProfileIntW
GetPrivateProfileIntW
DefMDIChildProcW
DefFrameProcW
TranslateMDISysAccel
GetMenuItemCount
GetMenuStringW
InsertMenuItemW
DrawStateW

As far as I can tell now these functions are supposed to exist
in WinCE. What is the best way to solve this problem? I ask this
because I don't know what is legal with regards to the use of MSDN
and the Platform SDK for Windows Mobile.

Regards,

Erik van Pienbroek



-------------------------------------------------------------------------
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
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to