Send text messages using VC (DLL Interface)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.