First Winpac Program In Visual C - ICP DAS USA WP-2000-CE7 Series User Manual

Table of Contents

Advertisement

4.5. First WinPAC Program in Visual C++

The best way to learn programming with WinPAC is to actually create a WinPAC program.
The example below demonstrates how to create a demo program running on WinPAC with Visual C++
To create a demo program with Visual C++ that includes the following main steps:
1. Create a new project
2. Configure the platform
3. Specify the path of the PAC reference
4. Add the control to the form
5. Add the event handling for the control
6. Upload the application to WinPAC
7. Execute the application on WinPAC
All main steps will be described in the following subsection.
Tips & Warnings
Before beginning a new project, the "Embedded Compact 7 ATL Update" must be installed.
If this update is not installed, the error message "atlconv.h error C2039: lstrlenW" will be
displayed after the program is compiled.
The update can be found by downloading the latest version from Microsoft.
http://download.microsoft.com/download/9/D/D/9DDBD3EC-A43C-4BCE-A7A9-AEE9B1007
BCE/VisualStudioDeviceWindowsEmbeddedCompact7.msi
WP-2000-CE7 Series (WinCE7 Based) User Manual
v 1.0.4
Page: 93

Advertisement

Table of Contents
loading

Table of Contents