Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

Edit

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 works....windows.microsoft.com/en-us/windows7/products/features/… –  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?....windows.microsoft.com/en-us/windows-vista/… –  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
show 1 more comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.