09-18-2021 03:39 PM
i was trying to link the snap 7 DLL file with labwindows and i keep get the same errors any idea please
09-20-2021 03:38 AM
First, you should probably not try to compile the client, server and your own source file in the same project. The main problem is that the Snap7.h file uses a strange way to define its constants. That may work for C++ compilers, I'm not sure, but not for most C compilers.
Basically all those const declaration should either be defined as a preprocessor #define or externalized into their own source code file. There is no other sane way to do that to not require some exotic C compiler versions.