|
From: WU Z. <zil...@gm...> - 2006-09-18 08:39:09
|
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 > <http://home.scarlet.be/%7Emd032472/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 > > |