Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adapt this command to show who installed 29 106
if loop in java 3 128
wait notify demo infinite loop 3 95
how to use laptop or pad camera in vb.net windows application 2 45
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. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 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

16 Experts available now in Live!

Get 1:1 Help Now