SMS question

User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: SMS question

Post by dutch »

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 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: SMS question

Post by Otto »

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: SMS question

Post by Otto »

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: SMS question

Post by dutch »

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 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
rasptty
Posts: 88
Joined: Sun May 25, 2008 5:46 pm

Re: SMS question

Post by rasptty »

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
cllow208
Posts: 20
Joined: Fri Apr 27, 2012 7:53 am

Re: SMS question

Post by cllow208 »

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

Post by cllow208 »

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
Post Reply