|
To read some SMS messages from the mobile phone or to send some SMS messages you can use the AT commands.
Just take a look at my article here at CodeProject: Infrared Communication with your Mobile Phone
It will show you how to send / receive some AT commands to your mobile phone. The sample application
works via IrDA, but with some little changes it will also work via a serial communication.
PJ Naughter has also written a very nice program (MfcSMS v1.01) to send some SMS messages. You can find
it on his homepage at http://www.naughter.com/mfcsms.html.
I hope this will help you!
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
wow. great job.
That info was really useful. But considering that Im am kinda of new to the subject...I still have a couple of questions:
What Im trying to do is create an application (or if you know where I can find one) that reads from a GSM modem or a phone conected to one of my serial ports.
I need the application to have a routine where it reads the SMS from the phone, saves the information into a Database, and erases these SMS. I also need to be able to send messages depending on the information saved into my database.
From what I understand, your application reads the information from the phone...but does it have a way of procesing it??
X-ZD Designs
|
|
|
|
|
I've been asked to think up a solution involving barcode scanners.
I have absolutely no experience in this area, so I am looking for names, links and tutorials.
The scanner must, naturally, be programmable.
"After all it's just text at the end of the day. - Colin Davies
"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
|
|
|
|
|
Hi,
I need to transfer file from my handheld PC to the remote pc using these protocols.The receiving end ,it may use hyperterminal s/w or anyother standard terminal emualtor.
But the application which is runing on the H/PC should syncronize with the target terminal emulator and has to work according to the protocol selected by both end.
Any resources for XYZModem protocol implementation using C/C++???
Please help me out and suggestions are most welcome.
Thanks,
siva
|
|
|
|
|
Hello!
I need my Pocket PC to receive data over the BlueTooth link. How can I do to open the port and work with it ? I suppose I can open it with CreateFile and providing a name like "COMx", but where can I find the port number ??
I also 'coupled' my Pocket PC with my computer.
Any idea ?
Thanks
|
|
|
|
|
Normaly there is a configuration tool for the Bluetooth port on your Pocket PC where you can assign a virtual com port (eg. COM8) to your Bluetooth port.
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Go to the registry and look for this key:
HKEY_LOCAL_MACHINE\ExtModems\BtDialupModem
Under it, you will find a Port value. This is the file name you must use when communicating with your phone. In my case it reads BTC1:
|
|
|
|
|
Hello,
I'm using eVC++ 3.00 and I want to do such a thing:
MessageBox("Test");
But I'll have an error at compilation:
error C2664: 'MessageBoxW' : cannot convert parameter 1 from 'char [29]' to 'const unsigned short *'
So, it's because UNICODE convention is used as standard. I suppressed it from the preprocessor settings but it still doesn't work! Is ANSI convention not supported ??
Thanks
|
|
|
|
|
Windows CE only supports UNICODE. All MFC methods and API functions and messages (with some notable exceptions) take UNICODE text. So, your code MUST read:
MessageBox(_T("Test"));
|
|
|
|
|
That's it !! This will give me a lot of work to convert my existing library !
Is there a simple way to convert ANSI string to UNICODE string?
char Buff[255];<br />
...<br />
...
...<br />
MessageBox(Buff);
Thanks
|
|
|
|
|
The best thing for you is start replacing char with TCHAR . If you want to do UNICODE to ANSI on-the-fly conversions, your application will run slower. But if you insist, use the mbstowcs , mbtowc , wcstombs and wctomb (check these out from the online help).
|
|
|
|
|
Ok, thanks a lot !
I'll try to replace as more as possible char with TCHAR then !
Thanks
|
|
|
|
|
On PocketPC 2002, I write an application like Ms PocketStreet. I have a toolbar’s icon (called A). When I press onto this icon (A), I can zoom IN a map in screen. Now, I want this: when keep pressing onto a key (like Alt or Ctrl or Shift on Desktop), and press onto icon A, I can zoom OUT the map. It works as Photoshop did.
How can I solve this problem. I saw in PocketPC 2k2, there’re 4 buttons in the bottom of it. I wonder if whether there are some Alt-on-desktop-like buttons or not.
Help me.
=======================
Nothing is perfect
|
|
|
|
|
You can actually use the hardware buttons. Check this page for guidance:
Hardware buttons[^]
|
|
|
|
|
Thanks
=======================
Nothing is perfect
|
|
|
|
|
Can you tell me how many hardware keys are there in PPC 2002 ? I knew that there're only about 5 hardware buttons in PPC 2k2 (in the bottom of the device).
=======================
Nothing is perfect
|
|
|
|
|
Can you tell me how many hardware keys are there in PPC 2002 ? I knew that there're only about 5 hardware buttons in PPC 2k2 (in the bottom of the device). What is their key code ?
=======================
Nothing is perfect
|
|
|
|
|
Can you tell me how many hardware keys are there in PPC 2002 ? I knew that there're only about 5 hardware keys in PPC 2002 (in the bottom of the device). But when I read about RegisterHotkey, it show a range from 0x0000 to 0xbfff !!! What is Identifier of 5 buttons on the device ? I want when keeping press into 1 of 5 buttons, then press into an icon on toolbar, my app will do something.
=======================
Nothing is perfect
|
|
|
|
|
My iPAQ 3850 (as well as series 39xx) has 5 hardware buttons plus the central oval button that emulates the 4 arrow keys and enter.
dlhson2 wrote:
What is Identifier of 5 buttons on the device ?
I'll have to check that out...
|
|
|
|
|
Dear Friends,
Did anybody know how to access the memory details of the Windows CE .NET inside ActiveX Control. I want to know which functions will give details of total memory, availbale free memory and used memory and ETC. Currently i am using Embedded VC++ 4.0
Thanks and Best Regards,
Subbu,
2003/06/09 (19:17 JST).
|
|
|
|
|
Use MEMORYSTATUS structure, dwAvailPhys member of structure and GlobalMemoryStatus function
|
|
|
|
|
I have a menubar like this:
File
|- New
|- Open
Edit
|- Copy
|- Paste
Map
|- Zoom
|-- |-Zoom In
|-- |-Zoom Out
But the screen didn't show Zoom correctly ? It showed some strange characters, instead of Zoom.
Everything (File, New, Open,...Map, Zoom In, Zoom Out) is good, but Zoom
=======================
Nothing is perfect
|
|
|
|
|
What is your platform? Cannot replicate it on my PPC 2002...
|
|
|
|
|
PocketPC with WinCE 3.0. But I just test in Emulator.
=======================
Nothing is perfect
|
|
|
|
|
How can I set cursor shape in WinCE ? I can use SetCursor() in desktop, but can't do that in WinCE
SetCursor do nothing !
I can't find WM_SETCURSOR in ClassWizard.
Help me
=======================
Nothing is perfect
|
|
|
|