|
From: WU Z. <zil...@gm...> - 2006-09-18 09:28:48
|
Hi Erik, Yes, I can create the import lib file using lib.exe provided by Microsoft. Here is a solution: lib /out:demodll.lib /def:demodll.def /machine:arm /subsystem:windowsce I'm just not sure if this is a problem of cegcc dlltool? Thanks, B. R. Andy On 9/18/06, Erik van Pienbroek <ad...@za...> wrote: > > Hi Andy, > > This error may be caused by the fact that the .dll.a files > produced by CeGCC aren't compatible with EVC. You can create > EVC compatible .lib's by following the instructions at > http://mingw.sourceforge.net/mingwfaq.shtml#faq-msvcdll > > Regards, > > Erik van Pienbroek > > Op maandag 18-09-2006 om 16:39 uur [tijdzone +0800], schreef WU Zilong: > > Hi all, > > > > Sorry, I need to clarify that the LoadLibrary works correctly (I did > > not write the code well just now). Currently the question is that the > > lib file generated by dlltool can not be linked with EVC exe correctly > > (warning LNK4078: multiple '.text' sections found with different > > attributes (E0000020))? > > > > > > B. R. > > > > Andy > > > > > > On 9/18/06, WU Zilong <zil...@gm...> wrote: > > Hi all, > > > > I have build a test dll using Danny Backx's minimal test > > package > > (http://home.scarlet.be/~md032472/download/test-dll.tar.gz), > > and the exe and dll works great. When I build the exe program > > usedemo.exe using evc4, the exe failed starting with an > > exception of illegal operation (Exception: 0xC00000005, > > Address 00000000). I have a concern that the exe is not linked > > correctly with the lib file and I modified the code with > > LoadLibrary() method, but the error is exactly the same. So I > > think the startup code of the dll is not compatible with > > windows loadlibrary mechanism. Can anybody help me on this > > topic? > > > > Thanks. > > > > B. R. > > > > Andy Wu > > > > > > > ------------------------------------------------------------------------- > > 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 > Ceg...@li... > https://lists.sourceforge.net/lists/listinfo/cegcc-devel > > |