Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 10 year old application which was used in Windows XP. This application is closed source so I am not able to fix it by using the source code. Now, I want to use it in Windows 7.

Most of the functionality of the application is working well except for the File Save, File SaveAs and File Open dialogs.

Clicking on one of these buttons in the toolbar or in the menu bar crashes the application.

I have attached Visual Studio Debugger and got the following error:

Unhandled exception at {Address} in {Assembly}: 0xc0000005: 
Access violation reading location 0x00000000

I assume that the problem is as described here.

Is it possible to fix this issue by replacing the DLL's / using Shim/Hooking the Open/Save Dialog or using a Manifest file?


We are not allowed to use the Windows XP mode.

share|improve this question
If you have Windows 7 Professional, Ultimate, Enterprise, you can Install and run that program in XP mode, see if it… – Moab May 14 '12 at 13:16
Thanks but it is not allowed to use the XP mode. – Ferhat May 14 '12 at 14:17
Did you try running the program in compatibility mode?… – Moab May 14 '12 at 15:07
@Moab I will give it a try tomorrow. – Ferhat May 15 '12 at 22:21
I tried it. It doesn't work. – Ferhat May 16 '12 at 21:29

Look for the folder where the program is installed. Odds are, this folder is read-only for standard users. In Windows XP, programs often got away with writing here anyway because just about everyone ran as an administrator by default. In Windows Vista and later this is often no longer the case. Try setting the permissions on the folder to give Modify access for the Users group. Also look for the default location that the program wants to use for it's Open/Save dialog and do the same thing.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .