Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exception code=C0000005 @ date,time...

Status
Not open for further replies.

sdmuresan

Programmer
Nov 21, 2002
8
RO
I'm getting this error message "Exception Code=C0000005 @ date, time..." very often. I tried with many computers, but i'm getting the same message. It appears when my clients run the exe files and when I'm programming (=always!). sometimes 5-6 times/day!! after I click OK, the program "dissapears" from the screen, it "quits" automatically.

I'm using VFP 7 + SP1, windows XP (no SP) (all computers I tried).

Sebi M.
 
Sebi,
There are many causes for C0...05 errors - just do a search at for them. In my experience most come down to:

1) Insufficient Memory - on XP you should have 512MB for VFP 7.0 development and any good sized app. While you can get away with less, it really depends on what other applications and services you are normally running in the backgroung. Note: MS Office apps, Word, Excel, Outlook, etc. all take a lot of memory for the support .DLLs.

2) Bad printer and video drivers - If you are not using those written explicitly for XP - be suspicious. Try getting updates or switch the choosen pirnter or video card. VFP exercises these much more than many applications!

3) Bad Software - Virus Checkers, Screen savers, "old" programs and shareware/freeware are always suspect - many use unsafe techniques to manage memory, and make bad assumptions about whom they are running with. In the case of real-itme VCs, make sure they are configured to ignore all the normal VFP files - .DBF, .FPT and .CDX (.IDX if you use them). On a developer system, exclude checking project, form, class library, report and label file types too!

4) Non-updated system software - Why haven't the XP systems been updated to SP1 with all the critical (security) updates? MS has fixed a number of the system caused C0...05 errors with their updates.

Remember the majority of these type errors are system errors - it's just that when VFP is running, it gets to report them!

Rick
 
I experineced a lot of exception errors on a 6.0 app (SP4) and it ended up being a view that I got a little crazy with. If you're accessing a view (remote or VFP, my suggestion is to make sure it's very simple.

Jim Osieczonek
Delta Business Group, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top