Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 555
  • Last Modified:

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

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
mruff
Asked:
mruff
1 Solution
 
jkrCommented:
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now