|
-
Mar 11th, 2023, 10:56 AM
#1
Thread Starter
Addicted Member
[RESOLVED] VB6 0xc0000005 on Windows 11 after calling *any* API
Hi gang, I'm using Windows 11 Build 20000 co_release 210604-1628 - Running in Developer Mode, Always run updates, using only Windows Defender for antivirus, excluded my source code folders from scans.
VB6 ran fine on Win11 until VS2005 (seemingly random) started trying to re-install from source media, every time I opened VB6. So I uninstalled VS2005, and VB6 quit working completely. So I uninstalled and reinstalled.
Now, VB6 loads fine (no App Compatibility settings), opens (As Administrator) any project. If you run (F5), the entire IDE disappears. If you step through (F8) it will execute any type of VBA code until it hits an API (doesn't matter - kernel32, user32, custom dlls), either declared or through a type library, and then the IDE disappears.
Windows logs show:
Faulting application name: VB6.EXE, version: 6.0.97.82, time stamp: 0x403acf6c
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005 (Access Violation)
Fault offset: 0x0a8bac64
Faulting process id: 0x17c4
Faulting application start time: 0x01d954271a804c69
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE
Faulting module path: unknown
Report Id: 901c5960-2f4b-4ee8-a928-ecf8be31a316
Faulting package full name:
Faulting package-relative application ID:
VS6 C++ has, and always runs fine, installed via - https://www.codeproject.com/Articles...dio-on-Windows
I've done SFC/scannow, uninstalled, reinstalled, cleaned registry, google searched everything.
I am out of ideas... help.
Last edited by taishan; Mar 24th, 2023 at 03:53 PM.
Reason: mark as resolved
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|