News | Articles | Libraries | Developer Tools | Books | Forum Links | Search   
Sections:
 

QA: How can I start a program with command line arguments?

By Vassili Philippov, September 04, 2001.
Print version

Question

I want a start program with commend line arguments on my Pocket PC. I can write a program for that, but may there is a "Run" dialog like in Windows 95?

Answer

There is a built-in run dialog. Here is a algorithm how to open it. It works OK on my Compaq iPAQ but I doesn't work on my Casio Cassiopeia E125.

Step 1

Open Today and press Action hardware button
Open Today program. Press Action hardware button and hold it.


Step 2

Click in the top-right corner of the task bar
Click and hold in the top-right corner of the task bar (Action hardware button should be presses) and wait until a popup menu appears. Then choose Run menu item (Ausfuhren on my German iPAQ).


Step 3

Run dialog
Run dialog will appear.


Run program

If by some reason the above algorithm doesn't work (it doesn't work on my Cassiopeia) you can use simple Run program written using STUtil library.

Download executable for ARM: run_arm.exe (10 Kb)
Download executable for MIPS: run_mips.exe (12 Kb)
Download executable for SH3: run_sh3.exe (10 Kb)
Download executable for Emulator: run_x86em.exe (9 Kb)

You can also download source code (45 Kb). It's a very simple program that just calls CSTUtil::RunExecutable method.

Related resources:

Discuss

Discuss this article. Here you can write your comments and read comments of other developers.
Rate this article:     Poor Excellent    
 12345 
© 2001-2005 Pocket PC Developer Network, a division of Spb Software House