How to import a DLL into my unmanaged C++ application?
Posted on 2008-10-31
I am new to C++ programming. I started to develop application using Visual Studio C++ 2008. in my application, i need to use some function in a DLL file provided by a third party software vendor.
I dont know how to import that dll into my application? can you show me how? actually i only have one file with DLL as file extension. is it enough to import and use it? how about *.lib file? can you tell me the difference between this two type of file?
i received the below error when i build my applicaiton, hope it gives you further awareness of my problem:
Error 1 error LNK2019: unresolved external symbol "public: virtual __thiscall ImqStr::~ImqStr(void)" (??1ImqStr@@UAE@XZ) referenced in function _msgTrigger MsgExits.obj
Thanks in advance,