Link to home
Start Free TrialLog in
Avatar of WCDeveloper
WCDeveloper

asked on

Why am I prompted for ONEXIT.C?

I have a few projects in Microsoft eMbedded Visual C++ 4.  Normally, everything works fine.  However, for some projects I will receive a prompt when I start debugging.  This prompt asks me for the location of ONEXIT.C (see attached screenshot).  The default path it is searching for the file is: d:\macallan\private\winceos\coreos\core\corelibc\crtw32\startup  (I am not macallan, and this directory does not exist on my computer).

Can anybody explain what causes this prompt and why it only happens on certain projects when debugging?

For some projects, I will receive odd memory errors after I see this prompt.  When this occurs, I can just reboot and everything goes back to normal.


screenshot.png
Avatar of pgnatyuk
pgnatyuk
Flag of Israel image

If I remember correctly, it is a crash, or a kind of... you know when a pointer was deleted twice or something else destroyed the heap, you see a message box, an assert from a CRT code (the file name is OnExit). You can look for this file on your computer. It should be somewhere in the folder eCV or Windows CE Tools. If you will select this file, you will see where you are and this is maybe useless.

eVC 4 was in 2004?
 
Avatar of WCDeveloper
WCDeveloper

ASKER

Normally I would believe that, but it seems to happen immediately when I start debugging (before any of my code executes), plus everything continues to work afterward.  It's possible that some of my project settings are incorrect and causing an exception at the launch of the application, but I can't pinpoint the cause.  What really confuses me is that it just started happening after a seemingly insignificant change.

I've tried to locate the file and it does not exist on my computer; so I can't get any useful information from that.

And yes, eVC4 is from 2004.  I'm using a legacy SDK for this device and I couldn't figure out how to configure VS2008 to support this.
ASKER CERTIFIED SOLUTION
Avatar of pgnatyuk
pgnatyuk
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial