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,"http://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;
}


Other Contact Methods

For further enquiries, please contact us via our contact page or the information below:

E-mail | sales@mobiweb.com.my

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

If operators are busy, please call the next number below.


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)
  • +6017-9713727 (Kelantan, Malaysia)
  • +6017-511 8885 (Johor Bahru, Malaysia)
  • +65 8301 0483 (Singapore)
  • +66 2026 0321 (Thailand)
  • +63 9212 358008 (Philippines)
  • +612 8310 5560 (Australia)

Fax:

  • +604-646 8367 (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