|
H/PC Newbie Posts: | 20 |
Location: | Czech Republic | Status: | |
| Hello everyone!
I'm sorry I haven't been very active - I'm short on time.
For now, my collection is done. I have covered Windows CE 2, 3, 5 and 6.
I started writing a text-only application for GPS tracking (generating waypoint files that I can open on Google Earth).
I have an app in my iPhone that works well, but it has two big flaws:
- Google Analytics can't be disabled (puke).
- You can create waypoints every certain number of meters, but not every certain number of minutes. (why?)
So I started pulling together a GPS tracking app that I can use via Bluetooth/Serial or PCMCIA GPS that runs in the command prompt.
I wanted to start testing on my windows CE 6 device (easier to write to - I am by no means a programmer) and GASP, where's cmd.exe?
The Windows folder has a ping.exe application that I can run, but I can't see the output because there's no command prompt. I haven't checked my Windows CE 5 device yet (I don't have how to power it on - it's a thinclient and I don't own a VGA monitor).
Any ideas? Is the command prompt present? Should I just copy it over from v3 without breaking anything?
Thanks, as always!
PS: I will share the app and source code once done, of course. =) |
|
|
|
| |
|
|
|
Global Moderator H/PC Oracle Posts: | 12,668 |
Location: | Southern California | Status: | |
| Try these. I pulled them from a Via CE 6 ROM flash package. Attachments ---------------- cmd.exe (68KB - 22 downloads) console.dll (38KB - 22 downloads) |
|
|
|
H/PC Newbie Posts: | 20 |
Location: | Czech Republic | Status: | |
| Thank you both.
From the ROM package, I get nothing.
With the mortscript, I think the link is dead. I can't get ever to download it, and this is a key pre-requisite. Does anyone have the package around?
The funny thing is that my installation contains tons of command line utilities but no way to display them. =) |
|
|
|
Administrator H/PC Oracle Posts: | 17,979 |
Location: | United Kingdom | Status: | |
| Sounds like the ROM compiler pulled the bin out for the command shell. You should be able to put them back in, you might need to regsrv some bits though. |
|
|
|
H/PC Newbie Posts: | 20 |
Location: | Czech Republic | Status: | |
| Cool, thanks!
I will do some digging during the weekend and report back.
Fun fact: if I execute ping -t from the run window, it seems to be running but without any UI feedback (by the way the network port blinks). I will check my logs or run a quick pcap to confirm. |
|
|
|
Administrator H/PC Oracle Posts: | 17,979 |
Location: | United Kingdom | Status: | |
| There is no reason why it wouldn't, cmd is just the receptacle for stdOut. The network stack is still there, if the pointer to stdOut is null, it just skips the action.
You'll find that many system services work in exactly this way. If you attach a console to it you can see what the service is up to for debugging purposes. Otherwise they run silently. |
|
|
|
H/PC Newbie Posts: | 8 |
Location: | United States | Status: | |
| Have you tried
[start] -> [Run] and typing "cmd" in the run box, I have a little Chinese net book that runs winCE 6 and this works on it.
Also you may be able to run your app as an HTA. (HTml Application.) HTA's use html as a wrapper that uses jscript or vbscript to call system functions. The runtime program is mshta.exe,
|
|
|
|
Global Moderator H/PC Oracle Posts: | 12,668 |
Location: | Southern California | Status: | |
| You'd have to have cmd.exe in \Windows for that 'Run' command to work, and it'd be basically the same as double-clicking on cmd.exe directly. |
|
|
|
H/PC Newbie Posts: | 20 |
Location: | Czech Republic | Status: | |
| Hi Gary, thank you.
There's no cmd at all in the file system, so typing it there doesn't work I've tried.
I'd rather have a text-mode app because I'm targeting different versions so the lowest common denominator is paramount. |
|
|
|
H/PC Newbie Posts: | 8 |
Location: | United States | Status: | |
| What I've seen of Windows CE over the years is that it is consistently inconsistent.
The same windows CE version, gen'd for different devices will have differences in the available of components.
Currently I am looking at end user development on two Windows CE devices: A Sylvania Smartbook with Windows CE 6.0 and a Vadem Clio 1050 (CE 2.11)
The CE 6 device has mshta.exe, cmd.exe, dllhost.exe and shell.exe
The Clio has cmd.exe,and dllhost
The only consistently available runtime across CE platforms appears to vbscript in internet explorer. You can use vbscript to create a container object that runs an executable and displays the result in an updatable web control. |
|
|
|
Administrator H/PC Oracle Posts: | 17,979 |
Location: | United Kingdom | Status: | |
| It's down to what the dev added to the Platform Builder image. There wasn't a consistent image requirement after HPC2000. |
|
|