Include soda.h Generates Error Application Is Not A Valid Pocket Pc Application When Executing Application
(Doc ID 396953.1)
Last updated on APRIL 13, 2020
Applies to:Oracle Lite - Version 10.0.0.0.1 and later
Information in this document applies to any platform.
When attempting to create an eMbedded C++ 4.0 application with the Oracle Database Lite Mobile Development Kit 10.2.0.1.0 utilizing SODA, execution of the project fails in the emulator and on the Pocket PC 2003 device with 'Application' is not a valid Pocket PC Application.
A sample for reproducing this is as follows:
1. Launch eMbedded c++ 4.0
2. Select File, New.
3. In the New dialog, choose WCE Pocket PC 2003 Application.
4. For the project name, enter SodaTest
5. Leave the location with the default and ensure that Create new workspace is checked along with the ARMV4 and Emulator CPU options.
6. Click OK.
7. Select a simple Windows CE application application and click Finish.
8. Click OK on the New Project Information dialog.
9. Set the project for Win32(WCE ARMV4) Debug with Pocket PC 2003 Device before adding the SODA references.
10. Open SodaTest.cpp and add the #include "soda.h" include directive.
11. Select Tools, Options and choose the directories tab.
12. Add the following include files:
13. Add the following library files:
14. Select Project, Settings and choose the link tab
15. Add olStdDll.lib and sodadll.lib to the object/library modules.
16. Add a simple Message Box to Win Main:
MessageBox(NULL, _T("f"), _T("f"), MB_OK);
17. Built and run the project.
Error 'Application' Is Not A Valid Pocket PC Application will occur.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document