nav2567
asked on
A in house program not work on WIN7 unless DEP is completely turned off.
We have a in-house program written by Visual Studio 2005 VB6 and being compiled in a Windows XP platform. The program has been working fine on the XP environment until when run it on a WIN7 Platform, it shows error message "unable to get the window handle for the "AxVSFlexGrid' control. Windowless ActiveX controls are not supported".
After doing some research, we have found a command "bcdedit.exe /set {current} nx AlwaysOff " to turn DEP off and it works in WIN7.
We have tried to turn off that particular exe file from the exception list from the WIN7 DEP but getting a message "This program must run with data execution protection (DEP) enabled. You cannot turn off DEP for this program. "
We do not have this issue or need to turn off anything in Windows XP.
Experts, please advise if you have any clue.
Many Thanks.
After doing some research, we have found a command "bcdedit.exe /set {current} nx AlwaysOff " to turn DEP off and it works in WIN7.
We have tried to turn off that particular exe file from the exception list from the WIN7 DEP but getting a message "This program must run with data execution protection (DEP) enabled. You cannot turn off DEP for this program. "
We do not have this issue or need to turn off anything in Windows XP.
Experts, please advise if you have any clue.
Many Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ok, then the application has been detected doing bad things executing from memory. Have you updated to the latest release of FlexGrid? A quick search showed me there were problems with older versions and DEP
ASKER
Tomasp, would you explain? What is the fix of the older version of DEP?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or get a newer version of the application that behaves properly
ASKER
Thanks everyone.
ASKER
The program was compiled in a XP platform.