Project Description: Based on the server and client, call the SMS interface and connect to MySQL to add information.
Main functions:
The server receives client requests, sends any text messages to the mobile phone number through the interface, and adds data to the database.
The client requests the server to verify that the user's verification code is correct.
Function Analysis:
DLL call:
There are two methods to call a dynamic Connection Library: load/import. The project uses import
// Method 1 hinstancem_hload; // handle m_hload = loadlibrary ("E: // skystock. DLL "); // L Link Library address // Method 2: # import" skystock. DLL "no_namespace // under the project directory
Use of MySQL in VC:
Refer to a post I wrote two years ago.
Http://topic.csdn.net/u/20110108/23/effb74d4-b487-4a99-b203-2c28a4f38931.html
C/s communication:
Use the casyncsocket derived class of asynchronous communication.
Resource:
For more information, see my resources.