Tools guide — RIM 950 Wireless Handheld simulator 21
Developer’s Guide – RIM 950 Wireless Handheld™
1. First, select a simulation platf orm from the Options menu. The
Configure… item in the Options menu allows you to add new
simulation platforms or versions if you have them available as RIM
OS DLLs. The Configure… item also allows you to specify the path to
OSLOADER.EXE. Other than selecting a simulation platform, the
defaults should be appropriate.
2. When you are ready to start the simulation, choose Start Simulatio n
from the Control menu. You will be prompted for command line
switches for the OSLOADER.EXE program; see below for descriptions
of the possible switches.
3. After specifying the switches (if any), you will be prompted to load
Application DLLs via a file selector window. You can load more than
one file at a time by clicking Open after each file or by selecting more
than one file in the window and clicking Open.
4. Once all files have been loaded, click Cancel in this window; the
RIM Wireless Handheld simulator will start.
Running the simulator from the command line
You can also start the RIM Wireless Handheld simulator by running the
executable OSLOADER.EXE. (This executable is located in the SDK install
directory that you selected during the setup process.) The first parameter
to OSLOADER.EXE must be an OS DLL, such as OSPGRMB.DLL.
You can optionally load applications automatically by na ming them after
the OS DLL on the command line, if the directory (or directories)
containing the DLLs is specified in the Windows PATH. For example:
OSLOADER.EXE [Switches] OsPgrMb.dll [applications]
If you don’t specify applications, you will be prompted with a file
selector window. You can load more than one file at a time by clicking
Open after each file or by selecting more than one file in the window and
clicking Open.
Once all files are loaded, click Cancel in this window; the simulator will
start.
Place the DLLs in your PATH or place them in the same directory and use
that directory as the current directory when you execute the command.