This file help you to develop freeware modbus library (CModbus) --------------------------------------------------------------- *-- Question 1 --: My vc6 compiler occure this error message! error C2065: '_beginthread' : undeclared identifier error C2065: '_endthreadex' : undeclared identifier... *-- Answer 1 --: You have to change your project setting! Go to "project settings->C/C++->Code Generation->Runtime Library", and exchange "single_threaded" for "multithreaded". *-- Question 2 --: My vc6 compiler occure this error message! error C2065: 'UINT' : undeclared identifier... *-- Answer 2 --: Add this declaration un your header file! #ifndef UINT #define UINT unsigned int #endif