Where is Lib File?
-
Hi, I am creating a Win32 DLL, using VS.NET. I build the project and want to use functions from dll, but i am wondering where is the .lib file. the dll file is there in debug folder of project. any pointer will be helpful Thanks in advance Abhishake Lahare
-
Hi, I am creating a Win32 DLL, using VS.NET. I build the project and want to use functions from dll, but i am wondering where is the .lib file. the dll file is there in debug folder of project. any pointer will be helpful Thanks in advance Abhishake Lahare
there may not be one, a dll is a dynamic library and a lib is a static library.
Darka [Xanya] -- modified at 5:42 Wednesday 12th July, 2006 also a .lib file can be a type library for a .dll
-
there may not be one, a dll is a dynamic library and a lib is a static library.
Darka [Xanya] -- modified at 5:42 Wednesday 12th July, 2006 also a .lib file can be a type library for a .dll
1)how can we confirm that it do not generate any lib file? 2)Whether that means you cannot statically link? Regards Abhishake Lahare
-
1)how can we confirm that it do not generate any lib file? 2)Whether that means you cannot statically link? Regards Abhishake Lahare
- If there is no .lib file after you compile then it is not being generated 2) You cannot statically link to a dll (or at least not easily) see Dynamic Linking: Advantages and Disadvantages for quick comparision of static vs dynamic
Darka [Xanya]
-
Hi, I am creating a Win32 DLL, using VS.NET. I build the project and want to use functions from dll, but i am wondering where is the .lib file. the dll file is there in debug folder of project. any pointer will be helpful Thanks in advance Abhishake Lahare
When you create the project for a DLL, you can specify whether you want to produce the .lib file too (export symbols checkbox) but i can't remember how you modify an existing project to do this.
Darka [Xanya]
-
Hi, I am creating a Win32 DLL, using VS.NET. I build the project and want to use functions from dll, but i am wondering where is the .lib file. the dll file is there in debug folder of project. any pointer will be helpful Thanks in advance Abhishake Lahare
see Property Pages / Configuration Properties / Linker / Advanced. put the path to the file you want to create in the field labeled "Import Library" (ex. "./Debug/MyDLL.lib") Cleek | Image Toolkits | Thumbnail maker