Building And Downloading A Program - Pro-face PS Series Developer's Manual

Type g application development kit (adk)
Table of Contents

Advertisement

1.2 Building and Downloading a Program

Here, as an example we will create a program to display the text "Hello PS Series Type G" in the
center of a window.
Add the following description to the OnDraw view class.
pDC->ExtTextOut (350, 300, NULL, NULL, TEXT ("Hello PS Series Type G"), NULL);
When you Build the program, it is automatically downloaded to the designated device. Before
executing the build process, from the [WCE Configuration] tool bar, designate the SDK and other
environment to be used in this process via the options displayed in the "Select Active WCE
Configuration", "Select Active Configuration" and "Select Default Device" pop-up menus.
Depending on the program's intended use, the setting of the [WCE Configuration] tool bar will
differ. The following three types of program build methods are explained below.
Programs debugged using the emulator
Programs debugged using the PS-G unit
Programs released for the PS-G unit
Program debugged using the emulator
To debug a program by running it using the emulator, the Windows CE Platform SDK (HPC Pro)
is necessary. For details, refer to "Chapter 1 3.1 Development Software."
(1) Set the tool bar as follows and then execute the build.
(2) When the build completes successfully, the program is automatically downloaded to the
emulator. If the emulator is not already running, it will be launched and then it will load the
program automatically.
(3) After downloading is completed, the program is saved in the [\My Handheld PC] folder. Run
the program by double-clicking on the program file's icon. To debug this program, start the
debugger. For details, refer to "Chapter 2 3 Debugging Programs Using the Emulator."
2 Application Development
2-5

Advertisement

Table of Contents
loading

Table of Contents