Click to See Complete Forum and Search --> : Lib File in Win32 DLL


Shashi
July 12th, 1999, 09:55 AM
Hi All,

I created a "Win32" DLL using Appwizard (VC++ v6.0)by selecting "A Simple DLL project" radio button. When i build the DLL i do not get the .lib file created though i get .dll successfully. I tried checking the link options and found /implib:"xxx.lib" option present, which is the linker switch that generates the lib file... what's going wrong here???? Win32 DLL wont create .lib files????

Thanks,
Shashi

Mikhail
July 12th, 1999, 10:30 AM
If you dont export any functions or classes
from DLL DevStudio will not generate .Lib file.
Use __declspec( dllexport ) or FAR PASCAL to export stuff from DLL.

Shashi
July 12th, 1999, 02:47 PM
Thanks it works...