Compiling libnodave

N

Thread Starter

NØ

Dear Sir,
i have made a dll project with nodave.cpp,
openSocket.cpp and openS7online.cpp,
renamed from the .c files.

When I run a program extracted from the testISO_TCPload.c example and including libnodave.lib then I can get valid values from a S7/400 PLC with Ethernet adapter CP443-1.
When I use de .lib from my own created dll then
the call _daveNegPDUlengthRequest(dc, &p1) in function _daveConnectPLCTCP returns -1025.

Is my vc++ 2005 solution maybe not ok and if so have anyone a good working example ?
 
Top