Danny Backx wrote: > I didn't see the getenv message, we may be using different versions of > the pocketgpsmap source. I got it from svn, revision 52. > > I'm using revision 52 too ,maybe different versions of arm-wince-mingw32ce. In order to compile the app I had to modify mingw headers:
--- /opt/mingw32ce/arm-wince-mingw32ce/include/aygshell.h~ 2007-08-17 23:00:36.000000000 +0200 +++ /opt/mingw32ce/arm-wince-mingw32ce/include/aygshell.h 2007-08-17 23:00:36.000000000 +0200 @@ -14,9 +14,6 @@ #ifdef __cplusplus extern "C" { #endif +#define SHCMBM_SETSUBMENU (WM_USER + 400) +#define SHCMBM_GETSUBMENU (WM_USER + 401) +#define SHCMBM_GETMENU (WM_USER + 402) /* * Menu Bar and --- /opt/mingw32ce/arm-wince-mingw32ce/include/wingdi.h~ 2007-08-17 23:10:38.000000000 +0200 +++ /opt/mingw32ce/arm-wince-mingw32ce/include/wingdi.h 2007-08-17 23:10:38.000000000 +0200 @@ -2722,7 +2722,7 @@ WINGDIAPI HDC WINAPI CreateEnhMetaFileA(HDC,LPCSTR,LPCRECT,LPCSTR); WINGDIAPI HDC WINAPI CreateEnhMetaFileW(HDC,LPCWSTR,LPCRECT,LPCWSTR); WINGDIAPI HFONT WINAPI CreateFontA(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR); -WINGDIAPI HFONT WINAPI CreateFontW(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); +//WINGDIAPI HFONT WINAPI CreateFontW(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); WINGDIAPI HFONT WINAPI CreateFontIndirectA(const LOGFONTA*); WINGDIAPI HFONT WINAPI CreateFontIndirectW(const LOGFONTW*); WINGDIAPI HPALETTE WINAPI CreateHalftonePalette(HDC); Finally succeed at compiling ,but app doesnt't work (in comparison with binary wersion provided in sourceforge.net download page) ,so I thing it is compiler issue. When I run the app it displays main window ,but I can't see menu bar ,and app exits after about 1 second. ---------------------------------------------------------------------- Kobiety klamia o wiele skuteczniej niz mezczyzni. Sprawdz, jak sie na nich poznac >>>http://link.interia.pl/f1b16 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel