How include extern DLL's as static Library into project?
-
Hi everybody, I want to include few external DLL files into my executable file as a static Library. Microsoft Visual C++ can do that with MFC,my question is: How can I do to insert external DLL's files? I hope any body can help me! Thanks aLx aLx
@LX wrote:
I want to include few external DLL files into my executable file as a static Library.
That is not possible. John
-
Hi everybody, I want to include few external DLL files into my executable file as a static Library. Microsoft Visual C++ can do that with MFC,my question is: How can I do to insert external DLL's files? I hope any body can help me! Thanks aLx aLx
DLLs and static libraries are entirely different things. MFC does not do what you said, MFC just has both DLL and static LIB versions. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
Hi everybody, I want to include few external DLL files into my executable file as a static Library. Microsoft Visual C++ can do that with MFC,my question is: How can I do to insert external DLL's files? I hope any body can help me! Thanks aLx aLx
OK, let the world be more "friendly" to this guy (or gal?)... If you want to do that with say MYDLL.DLL, then you must locate (or steal or beg or borrow or build) the .LIB file MYDLL.LIB. If you have the source code of MYDLL.DLL, then building the LIB file is a piece of cake. After you get the LIB file, link it statically by adding it to the Link tab of Project settings (do not forget to add its path to the Library path list in Tools --> Options --> Directories). If you do not have (or cannot get) the LIB file, you cannot do it. Koushik Biswas