SMS question

Re: SMS question

Postby dutch » Wed Jul 15, 2009 3:36 pm

Dear Jose,

You can use file explorer.
- File Explorer
- Open path
- Connect and login to the network drive
- That's all
or
You can use Resco Explorer to Map network drive letter "M:\"
- Resco Explorer
- Map Network Drive
- Connect and login
- Finished.

Regards,
Dutch
Regards,
Dutch

FWH 17.11 / xHarbour Simplex 1.2.3 / BCC7 / Pelles C
FWPPC 10.02/Harbour for PPC (FTDN)
(Thailand)
User avatar
dutch
 
Posts: 1194
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: SMS question

Postby Otto » Wed Jul 15, 2009 4:04 pm

Hello José,

maybe I expressed myself bad. But what I do is only like this:
This is the path to the network from the Pocket to the PC:

cDirBills := “\\demo\c\bills"”
aInfo := Directory( cDirBills + "\*.dbf" )
FOR I := 1 TO Len( aInfo )
Here is what I do with the files
NEXT

Now I thought to use a timer to look if there are new files and if yes I would for example send an SMS.

From PC to the PPC
Maybe CECopy from Windows Mobile Developer Power Toys could be a way, too.

viewtopic.php?f=4&t=1951


This is not a FW problem, but maybe you know how I could provide a permanent power supply to the smartphone.

If I connect my HTC via USB cable to the PC for the power supply the phone gets very warm.
But to use a Smartphone as a SMS server you need 24*7 online time.




Best regards,
Otto
User avatar
Otto
 
Posts: 3280
Joined: Fri Oct 07, 2005 7:07 pm

Re: SMS question

Postby Otto » Wed Jul 15, 2009 4:08 pm

Hello Dutch,
Have you ever tried to do this programmatically.

You can use file explorer.
- File Explorer
- Open path
- Connect and login to the network drive


Best regards,
Otto
User avatar
Otto
 
Posts: 3280
Joined: Fri Oct 07, 2005 7:07 pm

Re: SMS question

Postby dutch » Wed Jul 15, 2009 4:38 pm

Dear Otto&Jose,

I'm sure that possible. I will try an example and will post asap.

Share is feeding our brain.

Regards,
Dutch
Regards,
Dutch

FWH 17.11 / xHarbour Simplex 1.2.3 / BCC7 / Pelles C
FWPPC 10.02/Harbour for PPC (FTDN)
(Thailand)
User avatar
dutch
 
Posts: 1194
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: SMS question

Postby rasptty » Sun Jan 02, 2011 7:47 pm

In the example complile gave the following errors, why?

c:\prog_pda\vce\include\arm\sms.h(241) : error C2061: syntax error : identifier 'SMS_ADDRESS_TYPE'
c:\prog_pda\vce\include\arm\sms.h(243) : error C2059: syntax error : '}'
c:\prog_pda\vce\include\arm\sms.h(249) : error C2061: syntax error : identifier 'SMS_ADDRESS'
c:\prog_pda\vce\include\arm\sms.h(252) : error C2059: syntax error : '}'
c:\prog_pda\vce\include\arm\sms.h(281) : error C2061: syntax error : identifier 'PROVIDER_SPECIFIC_MESSAGE_CLASS'
c:\prog_pda\vce\include\arm\sms.h(282) : error C2061: syntax error : identifier 'psReplaceOption'
c:\prog_pda\vce\include\arm\sms.h(282) : error C2059: syntax error : ';'
c:\prog_pda\vce\include\arm\sms.h(287) : error C2059: syntax error : '}'
c:\prog_pda\vce\include\arm\sms.h(309) : error C2061: syntax error : identifier 'PROVIDER_SPECIFIC_MESSAGE_CLASS'
...
...
Etc


Asked for help because I need to send SMS with FWPPC,thanks

Best regards
Sérgio
rasptty
 
Posts: 88
Joined: Sun May 25, 2008 5:46 pm

Re: SMS question

Postby cllow208 » Tue May 15, 2012 2:46 am

Hello José,

thank you very very much for your generous sharing with us.

I manage to compile and link your sms.prg without error. :D but when comes to execution on my mobile6 ,
it says "the file 'sms' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try installing or restoring this file. "

I am running sms.exe on mobile 6, HP iPAQ 110 without SIM card, and carrier. Could it be the problem? or sms.prg needs other .DLL

Kindly help.


Best regards,
CL Low
cllow208
 
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Re: SMS question

Postby cllow208 » Tue May 29, 2012 6:44 am

Hello José,

Thank you very very much for your generous sharing with us.

Your code is running fine , a big thanks to your great tools for FWPPC community.


Best regards,
CL Low
cllow208
 
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Previous

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 1 guest