On Sunday 05 October 2008 12:27:15, Vincent R. wrote: > I am a bit surprised by your error message because usually on Windows > Mobile, when an application > cannot load a DLL, you get a "Invalid Pocket PC application" and that's > what I have when I try > on WM6.1.
You get that error when you link the application with the DLL (-lfoodll). If you try to load such a dll with LoadLibrary instead, it will fail to load, and GetLastError will report ERROR_BAD_EXE_FORMAT. The application is free to print whatever error message in the latter case. -- Pedro Alves ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel