WP-2641M-CE7 (WinCE7 Based) User Manual v 1.0.1 Page: 89
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.
Содержание WP-2641M-CE7
Страница 69: ...WP 2641M CE7 WinCE7 Based User Manual v 1 0 1 Page 69 Step 3 Select Browse tab and add the PACNET dll...
Страница 82: ...WP 2641M CE7 WinCE7 Based User Manual v 1 0 1 Page 82 Step 3 Select Browse tab and add the PACNET dll...
Страница 112: ...WP 2641M CE7 WinCE7 Based User Manual v 1 0 1 Page 112 5 2 PAC IO APIs PAC_IO...
Страница 131: ...WP 2641M CE7 WinCE7 Based User Manual v 1 0 1 Page 131 Appendix A Tips How to...
Страница 135: ...WP 2641M CE7 WinCE7 Based User Manual v 1 0 1 Page 135 Step 8 Click the OK and then click OK to end the dialog...
Страница 139: ...WP 2641M CE7 WinCE7 Based User Manual v 1 0 1 Page 139 A 3 How to use User Account Control in WinPAC...