Hi ppl!
i assembled a dll basically following tut #17 (with masm32). it works ok, but i got problem when linking it to C code (lcc): although the proc i wrote is recognized as external reference but the dll name is missing from imports section of the resulting exe file, so the loader tries to link proc to crt.dll and obviously fails. looks smthng is wrong with the lib file, but what?

give me some idea what can be wrong, please!

fresher
Posted on 2002-07-27 06:00:37 by TheFresher
LCC uses its own .lib format, so MASM-produced .libs will not work with it. You need to use implib.exe from LCC\bin directory. I have tried, and it still failed to produce a valid LCC linkalble .lib (maybe future versions fixed it?) so I had to use buildexp.bat in the \include folder and build from there until I finally succeeded.
Posted on 2002-07-27 07:09:14 by comrade