Linking error with Modbus TCP/IP


Thread Starter


When i program gets to the linking stage i get his error message. I have fieldtalk/lib/win/win32/release/libmbusmaster.lib Ws2_32.lib listed under additional dependencies for my linker, but i still get this message. The openProtocol i am using has the definition<pre>
int openProtocol(const TCHAR * const hostName);</pre>
I have no idea what to do any help can be provided would be appreciated.

error LNK2019: unresolved external symbol "public: int __thiscall MbusTcpMasterProtocol::eek:penProtocol(unsigned short const * const)" (?openProtocol@MbusTcpMasterProtocol@@QAEHQBG@Z) referenced in function "void __cdecl openProtocol(void)" (?openProtocol@@YAXXZ)