How to Send SMS With C++

You can send SMS from C++ using compilers such as Code Block or Visual Studio.

To understand more about our iSMS API Key features, please visit our Developer API page.


All available features and configurations will be displayed at the iSMS Developer API page. Integrate our SMS API into your C++ application and enjoy our SMS services.

Please click below to find out about other programming language samples.


How to Send SMS With C++

Below are some parameters you will need to change.


How to Send SMS With C++

  1. Change the un (username)
  2. Change pwd (password) with your username and password
  3. Change the dstno (destination number) to your destination number with full country code

#include
#include
int main ()
{
HINSTANCE result;
result=ShellExecute(NULL,NULL,"https://www.isms.com.my/isms_send.php?un=xxxxx&pwd=xxx&dstno=xxxxxxxxxxx&msg=xxxxxx&type=1&sendid=xxxxx",NULL,NULL,SW_SHOWDEFAULT);
if ((int)result<=32)
std::cout << "Error!\nReturn value: " << (int)result << "\n";
return 0;
}


Contact Us

Please contact us HERE, if you have any enquiries or looking for any consultation.

Email: sales@mobiweb.com.my

Note to registered users: Please include your Username in the email.

Phone Numbers:

  • 1800 87 7061 (Malaysia Toll Free)
  • +604 642 0621 (Penang, Malaysia)
  • +603 2780 3880 (Line 1 Kuala Lumpur, Malaysia)
  • +603 7980 1388 (Line 2 Kuala Lumpur, Malaysia)

Fax:

  • +604 611 5620 (Penang, Malaysia)
  • +603 7980 2388 (Kuala Lumpur, Malaysia)

Articles

 

SMS Coverage for All Countries Worldwide

A B C D E F G H I J K L M N O P Q R S T U V Y Z
divider