Does anyone know how to do this? The .LIB file I have is obviously written for MSVC but I want to use it with DevC ... Can someone please explain if this is possible (with a description of how its done). Thanks for your help.
- Rav.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hmm im not sure if you just include straight into your project without linker problems
#pragma comment(lib, "library.dll")
LoadLibaray("library.dll");
on the fly
or for build time
or in the linker you type -dictoryoflib/libary.LIB
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone know how to do this? The .LIB file I have is obviously written for MSVC but I want to use it with DevC ... Can someone please explain if this is possible (with a description of how its done). Thanks for your help.
- Rav.
Two questions which might save you a lot of work...
1) Did you try the lib with Dev-C++ already? Some libs seem to work without any conversion.
2) Do you happen to know if the lib was written in C or C++? If the latter, there is no way to convert the lib due to different compilers.
(This does not really answer the question, sorry...)
hmm im not sure if you just include straight into your project without linker problems
#pragma comment(lib, "library.dll")
LoadLibaray("library.dll");
on the fly
or for build time
or in the linker you type -dictoryoflib/libary.LIB
Excellent guys, thanks for your help.
regards,
- Rav.