Solved

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

Posted on 1999-01-22
1
519 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
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Window placement 17 65
MaxSpan challenge 9 67
changeXy challenge 13 57
Not needed 13 57
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now