On Fri, 2008-02-08 at 17:11 +0900, Lance Fetters wrote: > I'm having trouble creating DLL files that are compatible between cegcc > and mingw32ce; > is there a difference in the way that these two work? > > I used the sample "hello world" DLL and DLL-loading program as described at: > http://www.ibm.com/developerworks/aix/library/au-porting/index.html > > With this, I tried the following four test: > > DLL(hello.dll) Program(loadlib.exe) Result > -------------- -------------------- ------ > mingw32ce mingw32ce OK > mingw32ce cegcc OK > cegcc cegcc OK > cegcc mingw32ce GetProcAddress works, but no > message is printed
As is described on our website, the cegcc environment provides a unix-like layer above Windows CE. This layer needs initialisation and closedown. This is probably not happening in the circumstances that you refer to. This can probably be fixed, but quite frankly I have too many small projects on my list right now so I will probably not be spending time on it. Can you get your problems sorted out by always using a mingw32ce-built DLL ? Preferably not mix up the environments at all ? > In a related matter, though with seemingly opposite results: > > With libSDL 1.2 (SVN version), if I compile and link SDL.dll with > mingw32ce, my > cegcc-compiled program can not load it. If I compile with mingw32ce but link > with cegcc, it works fine. Without further information or experiments, I don't know what's causing this. Again, is it possible to avoid mixing environments ? Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel