FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC SMS question
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: SMS question
Posted: Wed Jul 15, 2009 03: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 2304 / 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)
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: SMS question
Posted: Wed Jul 15, 2009 04: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

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: SMS question
Posted: Wed Jul 15, 2009 04: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
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: SMS question
Posted: Wed Jul 15, 2009 04: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 2304 / 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)
Posts: 88
Joined: Sun May 25, 2008 05:46 PM
Re: SMS question
Posted: Sun Jan 02, 2011 07: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

Posts: 20
Joined: Fri Apr 27, 2012 07:53 AM
Re: SMS question
Posted: Tue May 15, 2012 02: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

Posts: 20
Joined: Fri Apr 27, 2012 07:53 AM
Re: SMS question
Posted: Tue May 29, 2012 06: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

Continue the discussion