billk
New Member
Posts: 7
|
Post by billk on Jun 27, 2022 20:39:05 GMT 1
Hello! So amazing to randomly find essentially the software that I started my carreer on, (back in 1987 on my Atari 1040STe!) Looking forward to using it again, and see how it's developed! However upon installation, and first run (each time GFA is opened), I get a message box with "GfaEdExt, and Access-Violation Exception: 0xc0000005" I've searched the forum, and nothing about "0xc0000005" I can find. Also, after the error, the IDE still opens, and I'm able to load a sample project, but on running it, I get the same error as above again, then an new error "Error on System LastErr=0x2 Access Violation". I've attempted to install using "Run as Administrator", and also execute installation as Run as Admin, but all seems to be the same. Any help would be appreciated. Bill
|
|
|
Post by (X) on Jun 27, 2022 22:05:46 GMT 1
Welcome!
What version of windows are you running?
|
|
|
Post by dragonjim on Jun 27, 2022 22:08:10 GMT 1
Hi bilk, I have never come across the 0xc0000005 error as you describe - it usually occurs when the software tries accessing a location that does not exist or is protected. I have just carried out a fresh installation from the most recent version of GFABASIC32 ( here) and can not replicate this problem. I would suggest uninstalling GFABASIC32, removing the GFABASIC32 folder in the ProgramFiles(x86) folder, make sure that the registry key Computer\HKEY_CURRENT_USER\SOFTWARE\GFA no longer exists and then try to reinstall. Hopefully, this will sort out the problem.
|
|
billk
New Member
Posts: 7
|
Post by billk on Jun 28, 2022 13:56:00 GMT 1
Welcome! What version of windows are you running? I am running Windows 7 Pro. v6.1 Build 7601 SP1
|
|
billk
New Member
Posts: 7
|
Post by billk on Jun 28, 2022 14:08:42 GMT 1
Hi bilk, I have never come across the 0xc0000005 error as you describe - it usually occurs when the software tries accessing a location that does not exist or is protected. I have just carried out a fresh installation from the most recent version of GFABASIC32 ( here) and can not replicate this problem. I would suggest uninstalling GFABASIC32, removing the GFABASIC32 folder in the ProgramFiles(x86) folder, make sure that the registry key Computer\HKEY_CURRENT_USER\SOFTWARE\GFA no longer exists and then try to reinstall. Hopefully, this will sort out the problem. Thank you. I just tried this... assuming "Program Files (x86)" may be protected... I then repeated the process installing, then moving the folder to root of C, and modifying the registry entries to suit, run as admin again, same error.dele Then deleted the registry entry and tried running it, seems it creates the reg entry on first run. Same error. Another tidbit... when attempting to open the help (F1) within GFA, a generic "Windows Help and Support" comes up... although it's clear the CHM file is in the proper location in the GFA folder. (I am using the most current version from the link you sent) Thank you!
|
|
billk
New Member
Posts: 7
|
Post by billk on Jun 28, 2022 14:20:34 GMT 1
One other observation...
I just installed it on a Windows 10 machine.
When GFA is started, the Debug Output window says
Installing gfawin32.gll. All installed GLLs are removed from Registry Registering lg32Path = C:\Program Files (x86)\GFABASIC32\Include Tip of the Day appears..., and HELP (F1) launches the CHM file properly.
On the Win7 machine, there is no such message... just the 0xc0000005 error.
Hope that helps diagnose. Thanks!
|
|
|
Post by dragonjim on Jun 28, 2022 15:53:59 GMT 1
Just one question: why are you moved the GFABASIC32 folder to the C:\ folder?
|
|
billk
New Member
Posts: 7
|
Post by billk on Jun 28, 2022 19:38:10 GMT 1
Just one question: why are you moved the GFABASIC32 folder to the C:\ folder? I've seen it happen before, through my experience, that the "/Program Files (x86)" folder can have some weird permission issues, so wanted to eliminate that possibility. MUST it reside inside "/Program Files (x86)" folder? (the installer gives no choice)
|
|
|
Post by dragonjim on Jun 28, 2022 20:33:04 GMT 1
The GFABASIC32 installation used to be a standalone which could be un-ZIPed and deployed anywhere, usually in Documents or the root directory.
The installation method was changed a few years back because of permission issues (I believe) - and to conform to more modern practices - so the whole installation process is now centred around the Program Files(x86) folder.
Saying that, I've run GFA from the Desktop before now, but that was simply copying across the files from another computer, so presumably the registry items were created on the first run of the software.
However, I haven't tried it in the root directory for a long time (on my old favourite WinXP machine), so I wonder if that may be the problem.
Please try the installation from the Program Files(x86) folder and see if it runs without the error. If so, we can presume that running it directly from the C:\ directory is possibly causing permission problems.
|
|
billk
New Member
Posts: 7
|
Post by billk on Jun 28, 2022 22:47:16 GMT 1
The GFABASIC32 installation used to be a standalone which could be un-ZIPed and deployed anywhere, usually in Documents or the root directory. The installation method was changed a few years back because of permission issues (I believe) - and to conform to more modern practices - so the whole installation process is now centred around the Program Files(x86) folder. Saying that, I've run GFA from the Desktop before now, but that was simply copying across the files from another computer, so presumably the registry items were created on the first run of the software. However, I haven't tried it in the root directory for a long time (on my old favourite WinXP machine), so I wonder if that may be the problem. Please try the installation from the Program Files(x86) folder and see if it runs without the error. If so, we can presume that running it directly from the C:\ directory is possibly causing permission problems. Thanks, to be clear, I was running it from C:/GFABasic32/ Now I've tried running it from /Desktop/GFABasic32/ and have the exact same results. Thanks!
|
|
|
Post by dragonjim on Jun 30, 2022 16:36:41 GMT 1
I've looked into this further and am still stumped. 100% of downloads and installations of the latest version have been carried out without an issue, until this one... I have GFABASIC installed on three computers (all Win10) and have no problem on any of them. On each I have physically cut and pasted the GFABASIC folder to the C:\ root directory and the Desktop and on each GFABASIC has run OK after the move. The only other things that I can think of are: 1. The problem rests with Windows 7 (although I very much doubt it as Vista, 7, 8, 8.1 and 10 are generally considered to be of the same family and what should run on one SHOULD run on another, including a lot of drivers) - could anyone else running Windows 7 confirm (or not) this problem? 2. The problem rests with your anti-virus - there have been reports of some anti-viruses flagging up GFABASIC as a false positive, although I have not heard of the .gll file being affected before. Try turning off your anti-virus (if you can) or marking the IDE as an exception and see if this solves the problem. 3. Unlikely, but the problem lies in the OCX file. As this is an active DLL and has been downloaded, sometimes this file is blocked. Right-click on the file and see if there is a box at the bottom of the General Tab labelled Unblock: if there is, tick it and click Apply. 4. There was a corrupt installation of GFABASIC on your system and this is affecting further attempts to reinstall it. In this case, try the installation in a different user account (GFA registry entries are usually only stored in Current User and the current profile sections of the registry) and see if it installs properly. 5. That gfawin32.gll has not loaded correctly. If the IDE is stable enough, go to the 'Extra' menu and select 'Extension Manager'; in the popup window that opens, select every entry and click 'Remove'. If you see a file called 'GfaEdExt.gll' then please let me know as this should not be there at all. Once all these additional functionality libraries have been removed, try and run a short program in the IDE and see what happens. 6. Unlikely, but there is an issue with your System Files. This happens very rarely but, if certain system files or libraries are corrupt or Windows has carried out a background update process which hasn't completed correctly, this can affect the performance of GFABasic. Open the Command Prompt in Administrator Mode and run 'sfc /scannow' followed by 'dism /online /cleanup-image /restorehealth' (both without the quote marks) and see if either of these find any errors. The try running GFABASIC again. (I have not worked on Windows 7 for some time and can not remember if the dism command performs /restorehealth, but give it a try anyway.) On one occasion, I had run a repair of Windows 10 to get things running again. 7. There are corrupt entries in the registry - try a registry cleaner (not a fan of Avast but CCleaner is good). 8. Extremely unlikely, but you have a corrupt installation file: download the latest from ( here). Hopefully, one of the suggestions above will solve this problem. If they don't, please try installing GFABASIC on a different computer and see if it works OK on that. I will be interested in any feedback from this.
|
|
|
Post by (X) on Jun 30, 2022 19:36:05 GMT 1
This may be of help...
I seem to recall that if you wanted to have the choice of installing GFA "where you want" then you had to first uninstall GFA, then, during the re-installation procedure, you would be asked where (what directory) you wish to install GFA. Once GFA has been installed, subsequent installation updates will "remember" that GFA was already installed and will skip the option of specifying the installation directory.
I would also check the environment variables for any GFA paths that might be lingering.
|
|
billk
New Member
Posts: 7
|
Post by billk on Jul 6, 2022 17:04:35 GMT 1
Thank you for the detailed response.
1. 4. & 8. I've installed the exact same setup package on another computer (Win10), no issues 2. Have disabled anti-virus (Avast), during installation and running, same error. 3. GFAWin32.OCX is not blocked. 4. Was able to uninstall fully, even cleaned registry entries. 5. IDE loads, can go to extras/Extension manager menu, and only thing in the list is GFAWin32.GLL, and if I select it an click Remove, I get the exact same "Access-Violation 0xc000005". IF I add the same file back again, same error message. 6. I did the sfc scan, but refrained from doing the dism, as this is a company computer and don't want to accidentally break anything else (maybe I'm just paranoid!) 7. Just did a CCClean... tool 3 sweeps to get it clean. Same error on GFA load. 8. Download fresh... file is identical.
I hope that gives you some more insight! Thanks!
|
|
|
Post by Roger Cabo on Jul 8, 2022 16:14:01 GMT 1
If you have no admin rights you cannot save any files into the installation folder outside of /Documents on drive C: Because of win10 security reasons. Could be possible Windows 10 has some changes in the latest version.
To develop applications with GFABasic32, you need to your win user account in admin but mode not in user mode. Perhaps this helps.
========> 2. Have disabled anti-virus (Avast), during installation and running, same error. I have several clients that use AVAST or NOTRON security. Both programs are hacking deeply into your windows file system and prevent nearly every access. It's not enough to simply disable any of these programs, because the low-level routines are running anyway for protection. I cannot recommended AVAST, NORTON, PANDA, AVIRA and some others. I have a lot experience with these Apps. On Win10 I can really recommended "Malwarebytes-Free" and for un-install any Programms "Revo Uninstaller-Free".
|
|