C++ – Unresolved external symbol error

comvisual c++

I am getting the following error in my VC++ COM project. What is the problem in linking the lib files here?

Error 4 error LNK2019: unresolved external symbol _BVUOpen@8 referenced in function "unsigned int __stdcall AFunc(void *)" (?AFunc@@YGIPAX@Z) CBillAcceptor.obj BillAcceptorCOM

Best Answer

Here are the explanation of the LNK2019 error : MSDN.

Look for a problem of definition about BVUOPen symbol ! The problem si inside the method AFunc Maybe, you haven't declare it correctly or haven't link the library or haven't export the symbol...

Related Topic