pocket pc programming!
pocket pc programming!
Hi!
my father got an pocket pc with GPS. its running windows mobile edition.
He asked if i could program a small program for it that would put the coordinates of where one is atm to a file on it... I downloaded pelles C for playing. All i know is that the gps in os COM 2 on the pocket pc.
But now the big question..: How can i program a program that reads from COM port in C?
well another thing would be if there is any thing like winAPI on the pocket mobile so i can use that in pelles C?
i dont know much c++ programming, but a bit. but im not sure, that that is good enough to program in C
and last question: Is it possible to program an exe to windows mobile edition in purebasic?
my father got an pocket pc with GPS. its running windows mobile edition.
He asked if i could program a small program for it that would put the coordinates of where one is atm to a file on it... I downloaded pelles C for playing. All i know is that the gps in os COM 2 on the pocket pc.
But now the big question..: How can i program a program that reads from COM port in C?
well another thing would be if there is any thing like winAPI on the pocket mobile so i can use that in pelles C?
i dont know much c++ programming, but a bit. but im not sure, that that is good enough to program in C
and last question: Is it possible to program an exe to windows mobile edition in purebasic?
-
dracflamloc
- Addict

- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
-
RJP Computing
- Enthusiast

- Posts: 202
- Joined: Sun Apr 27, 2003 4:44 am
- Location: Michigan, USA
- Contact:
Re: pocket pc programming!
Here is a great website to checkout.thefool wrote: But now the big question..: How can i program a program that reads from COM port in C?
http://www.wince.org.uk/vc/intermediate/serialrw.htm
Most of the Windows API is there. You can download the WindowsCE SDK given in the link in the post above, but it really isn't needed. PellesC is really good at writing the software. There is a drawback though, you can't create an exe that will run on the Windows CE emulator. I really don't find this to bad though. I am just starting to write a program that talks to the COM port on the PocketPC so I am learning a bunch.thefool wrote:well another thing would be if there is any thing like winAPI on the pocket mobile so i can use that in pelles C?
No not at this time.thefool wrote:and last question: Is it possible to program an exe to windows mobile edition in purebasic?
-Ryan
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
great thanks for the help 
well is there any other programming language than c nd' c++ to write for Windows Mobile edition?
im not really good at using c or c++. Any ideas (it needs to have the ability to read a comport)
but ill look at the webpage about serial comm, and also download the microsoft c++ thingy. i already have pelles c but i know even less C than c++
edit: will the Embedded visual tools [that also have eMbedded Visual Basic 3.0] work on a new Pocket Pc with Windows Mobile edition?
well is there any other programming language than c nd' c++ to write for Windows Mobile edition?
im not really good at using c or c++. Any ideas (it needs to have the ability to read a comport)
but ill look at the webpage about serial comm, and also download the microsoft c++ thingy. i already have pelles c but i know even less C than c++
edit: will the Embedded visual tools [that also have eMbedded Visual Basic 3.0] work on a new Pocket Pc with Windows Mobile edition?
-
Bonne_den_kule
- Addict

- Posts: 841
- Joined: Mon Jun 07, 2004 7:10 pm
thanks, but does it work on the newer Windows Mobile?
[i ask since i noticed that the c++ version was 4.0-]
is it written with Pelles C or ms c++ thingY?
[i ask since i noticed that the c++ version was 4.0-]
hey will you send me an example of it? so i can try to take a look at it..?h. I am just starting to write a program that talks to the COM port on the PocketPC
is it written with Pelles C or ms c++ thingY?
-
RJP Computing
- Enthusiast

- Posts: 202
- Joined: Sun Apr 27, 2003 4:44 am
- Location: Michigan, USA
- Contact:
Sure when I get something working.thefool wrote:hey will you send me an example of it? so i can try to take a look at it..?
It will be written in PellesC. I really prefer PellesC over Embedded Visual C++. It is just so much cleaner and fast.thefool wrote:is it written with Pelles C or ms c++ thingY?
-Ryan
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
-
RJP Computing
- Enthusiast

- Posts: 202
- Joined: Sun Apr 27, 2003 4:44 am
- Location: Michigan, USA
- Contact:
Just a plain example? Nothing to do with serial communication.
If that is all you are looking for than I can do that very quickly.
By the way WindowsCE always has a window, there really isn't a console in Windows CE.
If that is all you are looking for than I can do that very quickly.
By the way WindowsCE always has a window, there really isn't a console in Windows CE.
-Ryan
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
-
dracflamloc
- Addict

- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
-
RJP Computing
- Enthusiast

- Posts: 202
- Joined: Sun Apr 27, 2003 4:44 am
- Location: Michigan, USA
- Contact:
Ditto.RJP Computing wrote:Where did you find that bugger! 8O Can you tell me where to find it?thefool wrote:It comes with a nice Comport Component and i have opened the port.
I need that bad. That sounds great.
Edit:
http://www.microsoft.com/downloads/deta ... laylang=en
@}--`--,-- A rose by any other name ..

