11-28-2010, 04:52 PM | #1 |
Join Date: Sep 2006
Location: Luxembourg
|
EDIT: trouble with DEP (Data Execution Prevention)
Solved (see below)
Summary : If a patched GCA crash on startup with windows 7, DEP is probably the problem. Setting an exception for GCA does not always work, workaround below. Celjabba Last edited by Celjabba; 11-29-2010 at 02:53 PM. Reason: Solved. |
11-28-2010, 05:02 PM | #2 | |
Join Date: Jul 2005
Location: Jeffersonville, Ind.
|
Re: Problem installing GCA under windows 7
I've never had a problem with installing or running GCA on Windows XP 32-bit and 64-bit, Windows Vista 32-bit, Windows 7 32-bit and 64-bit and WINE (with the proper DLLs installed and settings made) under 32-bit and 64-bit Linux of various flavors.
The two big things I would look are are 1) GCA requires a printer to be configured and 2) importing many settings from old installs can lead to strange behaviors. Another problem that's much more rare could be a software conflict. I've installed that VB6 based programs for school that upon ending the class and uninstalling the programs ended up breaking GCA. That's a problem I couldn't fix at the time since VB6 runtimes are pretty much an "out of the box" install on Windows and they simply didn't offer a way to install stand-alone libraries intended for Windows 2000 users onto a modern 64-bit system.
__________________
The user formerly known as ciaran_skye. __________________ Quirks: Doesn't proofread forum posts before clicking "Submit". [-1] Quote:
Last edited by panton41; 11-28-2010 at 05:09 PM. |
|
11-29-2010, 05:13 AM | #3 | |
Join Date: Sep 2006
Location: Luxembourg
|
Re: Problem installing GCA under windows 7
Quote:
-As far as i know, i deleted every copies of gca.ini and in fact every files and folders created by gca between each attempts. A VB6 conflict is possible, but how can i check for it ? Could someone here interpret the appcrash report if i posted it ? Celjabba |
|
11-29-2010, 05:22 AM | #4 | ||
Join Date: Jul 2005
Location: Jeffersonville, Ind.
|
Re: Problem installing GCA under windows 7
Quote:
I've never tried for Windows v 64-bit, but see if downloading vb6runtimes helps. You might want to uninstall GCA again before running it since it also installs some of its own packages. I'm not the GCA programmer or an official support person, but a crashlog might help. If anything it could say what is causing the crash to happen. Actual debug output would be nice, but that's probably not possible.
__________________
The user formerly known as ciaran_skye. __________________ Quirks: Doesn't proofread forum posts before clicking "Submit". [-1] Quote:
|
||
11-29-2010, 02:02 PM | #5 |
Join Date: Sep 2006
Location: Luxembourg
|
Re: Problem installing GCA under windows 7
Update : it work IF i disable DEP (Data Execution Prevention) for non-windows program.
I was following the FAQ and setting an exception for GCA - this, in my case, don't work. Disabling DEP for non-windows executable allow me to update GCA and to run it without trouble. Of course, disabling security feature is not something I like. So, i guess my question become : Does someone know a working way to set an DEP exception for GCA under windows 7-64, since the FAQ way does not work for me . Thanks Celjabba |
11-29-2010, 02:14 PM | #6 | |
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
|
Re: Problem installing GCA under windows 7
Quote:
I haven't looked into DEP in a while; I'll see if I can mess around with it later. You should be able to create a specific exception; I know I did it in both XP and Win7 without issue.
__________________
Eric B. Smith GURPS Data File Coordinator GURPSLand I shall pull the pin from this healing grenade and... Kaboom-baya. |
|
11-29-2010, 02:49 PM | #7 |
Join Date: Sep 2006
Location: Luxembourg
|
Re: Problem installing GCA under windows 7
SOLVED ! Victory.
All hail the mighty google :) So.... When you set a DEP exception, you actually create a registry entry in hkey_local_machine\software\microsoft\windowsNT\cu rrentversion\appcompatflags\layers wich have the .exe path as name and DisableNXShowUI as value. BUT If you crashed the application before that, windows in some case create a key with value disableusercallbackexception. Same name, same emplacement. (apparently, this is a windows attempt to prevent further crash. or it may be linked to compatibility mode. not sure.) If that key exist, the DEP exception cannot be written, and does not work. (but appear as valid in the exception list) Deleting the disableusercallbackexception registry entry and then setting the DEP exception work. Perhaps this may help someone else ? If not, any moderator may delete this thread :) Celjabba Last edited by Celjabba; 11-29-2010 at 03:16 PM. |
Thread Tools | |
Display Modes | |
|
|