libmodbus in MFC
问题 I am trying to integrate modbus library given by libmodbus into a custom MFC project in Visual Studio 2010. The steps that I have followed till now are as follows: 1) I have created project in Visual Studio 2010 as shown in snapshots below: 2) I have edited the code to include a small hello world code just to check if it compiles. 3) I have copied .c and .h files from src folder of libmodbus-3.0.3 to Visual Studio project folder as shown below and included them in the project. 4) When I try