Making .lib files
-
Hi friends! I need to use a dll whose VC++ project I don´t have. Because the names of the dll are "mangled" I should use the library in the "__declspec(dllimport) ..." way. But I don´t have the .lib file needed for it, how can i create this file from my .dll file? I´ve been looking the "lib" command reference in msdn, but the exectution of this tool gives me nothing: no errors, no warnings, no output files. Does anybody know another tool, or the correct parameters for the "lib" tool? Thanks in advance. "When I look into your eyes, there´s nothing there to see, nothing but my own mistakes staring back at me"
-
Hi friends! I need to use a dll whose VC++ project I don´t have. Because the names of the dll are "mangled" I should use the library in the "__declspec(dllimport) ..." way. But I don´t have the .lib file needed for it, how can i create this file from my .dll file? I´ve been looking the "lib" command reference in msdn, but the exectution of this tool gives me nothing: no errors, no warnings, no output files. Does anybody know another tool, or the correct parameters for the "lib" tool? Thanks in advance. "When I look into your eyes, there´s nothing there to see, nothing but my own mistakes staring back at me"
If you don't have the lib file, you can always use the
LoadLibrary()
andGetProcAddress()
functions. Roger Stewart "I Owe, I Owe, it's off to work I go..."