Problems with 2 WAY SMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 14, 2005 ⬆ |
◄ ► |
Author | Message | |||
Sebastyan Anghel New member Username: Sebastyan Post Number: 1 Registered: 04-2005 |
I wrote a small program in Delphi that when it is runned it connects to a MySQL table and writes the recieved SMS in it and close itself. When I run the program myself everything is OK, but when NOW SMS runs it the program remains in memory and the recieved SMS is not writed in the table. The NOW SMS command is c:\SMSrecieved.exe @@SENDER@@ @@FULLSMS@@ I wrote another program that writes the recieved SMS into a text file, and it works fine. What could be the problem. PS Please excuse my poor english. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4313 Registered: 10-2002 |
It's hard to guess what the problem could be. My recommendation would be to try running the command under the command processor ... For example, configure the command as: c:\windows\system32\cmd.exe /c c:\smsreceived.exe @@SENDER@@ @@FULLSMS@@ You could further have the command process run a ".bat" file that runs your ".exe", so that you could put some debug in the batch file (e.g., >> to a file) to determine what is occurring. | |||
vishal Unregistered guest |
I can able to receive sms in my pc and also getting the response back.But the command c:\winnt\system32\cmd.exe /c echo ECHO @@FULLSMS@@ does not opens a command processor to display the sms text. I have checked the path of the cmd processor and is correct.What might be the problem | |||
na New member Username: Nosij Post Number: 12 Registered: 05-2005 |
hi vishal use the c:\windows\system32\cmd.exe /c c:\smsreceived.exe @@SENDER@@ @@FULLSMS@@ instead of c:\winnt\system32\cmd.exe /c echo ECHO @@FULLSMS@@ Notice the Windows FOlder is different | |||
vishal Unregistered guest |
Thanks for replying.I have also tried with c:\windows\system32\cmd.exe /c c:\smsreceived.exe @@SENDER@@ @@FULLSMS@@ .The system prompts to enter a valid exe file path. I am planning to write a function in 'C' language which will get the sms content as its parameters and it will process.i need your suggestion in this regard. can i run that .exe file in the now command directly with replacable parameters?. Eagerly expecting reply..... | |||
vishal Unregistered guest |
I am receiving all the sms in the smsin folder.The only thing i need to process the sms content. |