To Process received SMS using C language | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 14, 2005 ⬆ |
◄ ► |
Author | Message | |||
SURESHALAGAR Unregistered guest |
I am getting echo response back in my mobile so that my gateway is active. I want to pass sms content through replacable parameters (@@FULLSMS@@)to a c program which will process the sms content.Suppose I am having C exe file processsms.exe in c drive,Can i use command like c:\winnt\system32\CMD.exe /c echo Echo @@FULLSMS@@ Will the above procedure is correct?. Please suggest me some ideas in this regard. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4623 Registered: 10-2002 |
Yes. You would probably want to define the command like this: c:\winnt\system32\CMD.exe /c c:\processsms.exe @@SENDER@@ "@@FULLSMS@@" Notice that I am passing the sender phone number as one of the parameters, which may or may not be important to your application, but is frequently useful. I am also putting @@FULLSMS@@ in quotes, as this helps command line programs see the SMS text as a single command line variable, instead of multiple variables. |