Problems with 2 WAY SMS

Problems with 2 WAY SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through July 14, 2005 » Problems with 2 WAY SMS « Previous || Next »
Author Message
Sebastyan Anghel
New member
Username: Sebastyan

Post Number: 1
Registered: 04-2005
Posted on Friday, April 01, 2005 - 05:55 am:   

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
Posted on Sunday, April 10, 2005 - 12:26 pm:   

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
Posted on Monday, May 30, 2005 - 11:31 am:   

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
Posted on Monday, May 30, 2005 - 10:00 pm:   

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
Posted on Tuesday, May 31, 2005 - 02:50 am:   

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
Posted on Tuesday, May 31, 2005 - 08:05 am:   

I am receiving all the sms in the smsin folder.The only thing i need to process the sms content.

Login Login / Register Logout Logout Search Last 30 Days Topics Topics