Solved

MFC and Windows CE /cannot start MFC applications in emulation environment

Posted on 1999-01-22
1
533 Views
Last Modified: 2013-11-20
I've installed the Microsoft Windows CE Toolkit for Visual C++ and the Windows CE Platform SDK 2.0
Since I don't have a hand held PC, i'm using the emulator under windows NT. I can run the Win32 sample applications without problems in the emulation environment.
If I load a MFC sample application, thats included in the toolkit and build the debug version vor the emulation environment (WCE x86em) and try to start it the following errors occur: "The application failed to initialize properly (0xc000007b) Click on OK to terminate the application"
and "Could not execute: Path not found(Win 32 error 3)"
I have no idea what path, cause before i did update the emulation output file (using the according menu point in the  
Build menu of the Dev Studio)
I hope that somebody can help me with this. Cause i spent already a lot of time reading the manuals but did not find a hint
0
Comment
Question by:mruff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 1328202
According to ntstatus.h, '0xc000007b' means:

//
// MessageId: STATUS_INVALID_IMAGE_FORMAT
//
// MessageText:
//
//  {Bad Image}
//  The application or DLL %s is not a valid Windows NT image.
//  Please check this against your installation diskette.
//
#define STATUS_INVALID_IMAGE_FORMAT      ((NTSTATUS)0xC000007BL)

I assume the binary image of the emulator simply was corrupted somehow.... :-(

Sorry that i can't provide futher help - but i hope this answer at least helped you to find the reason for the failure... (ASCII mode FTP download? Corrupt disk/CD/other media?)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question