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
Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 94
Replacement selected text 2 63
isEverywhere  challenge 19 82
Bartender label printing - switch on and off graphics 3 54
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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. …
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.

856 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