The app doesn't work anymore - any ideas

I don't understand why my application suddenly stopped working - maybe the collective mind of the SO community can help ...
Background:
I have a large application that has been working until recently. Now when I try to run it, I get the error "The application could not initialize correctly (0xc0000005)"
This happens before the application reaches _tmain()

. This happens in both release build and debug. I've tried cleaning and rebuilding projects and restarting my computer.

Only entries for kernel32.dll and ntdll.dll are displayed in the call stack.
The output window shows:

First-chance exception at 0x00532c13 in a.exe: 0xC0000005: Access violation reading location 0xabababdb.
First-chance exception at 0x7c964ed1 in a.exe: 0xC0000005: Access violation.
Unhandled exception at 0x7c964ed1 in a.exe: 0xC0000005: Access violation.

Any ideas?

Edit:
Ok - found the problem - it was dll related
my application uses shared dlls a.dll and b.dll (and others)
a.dll hardly everyone changes (and uses b.dll)
This morning b.dll was modified by another developer and the a.dll file was not recovered.

Depends.exe did not find a missing DLL, however a.dll no longer works due to a change to b.dll

0


source to share


5 answers


There may be a .dll file required by the application, but it was not found or access was denied.



Are you using some kind of dll, or maybe some kind of runtime library?

+1


source


This link appears to describe three questions as possible causes:

  • Data Execution Prevention
  • Driver or system update
  • Faulty Ram


more details here: http://www.updatexp.com/0xC0000005.html

let us know if you find a reason

+2


source


Check permissions?

+1


source


Windows update may have started with the system.

+1


source


Perhaps you have used SysInternals to study what is going on? This will help you identify any failure, such as if it is accessing a file, DLL or registry entry and access.

Does your program work fine if you install it elsewhere? (another computer) This can help isolate the problem

- You can check if there is an event log (application, system, etc.) to see if anything about the issue is being triggered.

- One more thing ... Since you updated Tortoise, it may be using a DLL that your application also uses. You should check if any DLL versions have changed. You can uninstall this new version of Tortoise. Or more drastic, try restoring the registry. ( http://support.microsoft.com/kb/322756 ) Or if you are using Ghost / Acronis recovery for an earlier image of your OS.

Finally, I would suggest trying to be very specific after finding out what is wrong. I've mentioned some drastic remedies for the problem, but hopefully you can (e.g. DLL ver x cause the problem) narrow it down. Otherwise, in time for the client or user of your application to encounter the same thing.

+1


source







All Articles