PRB: Resolving '<App-name>' is not a Valid Windows CE App Error

Last reviewed: December 1, 1997
Article ID: Q177434
The information in this article applies to:
  • Microsoft Visual C++ for Windows CE, version 1.0

SYMPTOMS

Attempting to run an application built with the products listed above results in the following message:

    '<app-name>' is not a valid Windows CE application.

where <app-name> is the name of the application being run.

CAUSE

The application was not built for the correct processor platform. The Microsoft Visual C++ for Windows CE 1.0 product is capable of building for H/PC devices using the Hitachi SH-3 or MIPS R3000/R4000 processor platforms.

RESOLUTION

You can determine what processor is used on a specific device by clicking [Start|Settings|System|General]. The processor type is displayed in the "System:" section under the heading "Processor Type:".

To build for a particular processor platform, your Visual C++ project must contain a configuration for that platform and the configuration must be the active configuration when you build the application.

- Use the following steps to select the active configuration:

  Choose [Build|Set Active Configuration...] from the Microsoft Developer
  Studio menu bar. Select the configuration for the desired processor
  Platform and click [OK]. If the desired configuration is not present, use
  the next procedure in this article to add one.

- Use the following steps to create a new configuration:

  Choose [Build|Configurations...] and click the [Add...] button. Choose
  the new processor platform in the "Platform:" field. Choose a
  configuration name and a configuration to copy settings from, then click
  [OK].

STATUS

This behavior is by design.

REFERENCES

For more information, please see the following help topics in the Visual C++ for Windows CE Online Documentation - Chipset References:

   TITLE: SH-3 Chipset Start Page:
   URL: mk@ivt:sh3/sh3_home.htm

   TITLE: MIPS General Chipset Reference:
   URL: mk@ivt:mips/mipshome.htm


Additional query words: RISC VR4100 PR3910 VCCEISS
Keywords : VCCE
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.