I installed Visual Studio 6 and ThunderVB after Windows 10.2004 clean installation.
when I try to run VB, at splash screen it outputs error:
Code:
---------------------------
Microsoft Visual Basic
---------------------------
'ThunderVB v1.0.0' has caused an access violation.
Remove it from the list of available Add-Ins?
---------------------------
Yes No Help
---------------------------
I've never used that add-in but people on this site have and still do. Did you install SP6 with your fresh VB install? Maybe that add-in requires it or SP6 fixed some add-in error that came with the original VB6?
Insomnia is just a byproduct of, "It can't be done"
I installed also SP6,completelty: VS6 Enterprise, MSDN and SP6.
My question now is - needs ThunderVB updated to latest release?
'Cause I didn't it not - it was problematic, so I have ThunderVB 1.0 installed only.
Hi,
Sorry for the bump.
I got the same issue as yours as soon as i switched to 64bit. The dll ThunderVB_pl_HookSys_v1_0 is what seems to cause the issue.
Basically the issue caused by an odd BaseOfCode value of kernel32.dll which is weirdly not 0x1000 like most of PE files. The ThunderVB_pl_HookSys_v1_0 dll assumes every PE file has 0x1000 as BaseOfCode and therefore uses a hardcoded value of 0x1000 to get to the code section of the loaded modules. I posted about it on github. You can read more about it here.
So hopefully the author will address this.
Last edited by Kunical; Apr 14th, 2021 at 01:51 AM.
So i didn't bother much and just fixed the dll with a debugger.
I attached the fixed dll. You just need to replace the one you have with this one in plugin's path "\ThunderVB\dlls"
No, don't do this. Just send a PR to the github repo with the fixes so everyone can review these and compile the DLL themselves.
No one is willing to download and run random DLLs from the internet and forum mods will most likely remove the download within hours as it's against forums rules here and poses an unknown threat to regular users.
Here is my fix of this plugin source code for 64bit startup crash.
Note:
You need the main source code too for it to compile properly since it depends on other references/modules.
You can download it from github here.
I tried compiling the attached example but when I load the project Vb6 is telling me that there are 3 missing mod files. Can you please provide these mod files or the build fixed dll?
I have managed to compile it using the original source and is now working without errors. However when I tried one of the ASM examples to check if it is working correctly it is not executing the ASM code but it is treating it as comments and the test program is telling me that ASM is not working. I have installed MASM and also FASM and provided the path to the respective executables in the settings panel but it does not seem to work. If I try to write ASM code it provides the suggestions so the plugin is working, but not executing the code. Any help?
I just tested and recompiled with the updated fix provided by Kunical.
But still same issue. I see a message when when i enable the addon in VB: 'ThunderVB' has caused an access violation.
If anyone wants to try, you can find all of the Source on this link, which has all the necessary shared Modules required for compiling.
I have recompiled the code provided by Kunikal and the dll produced did work with no violation error anymore occurring and I can access the ThunderVB panel in VB6. I have installed Visual studio Express 2008 and placed all the paths in the settings to their respective paths. The ASM and C code in the examples is changing color so showing that it is being recognised. However when I compile the test programs in the tutorial examples which should tell me if the compilers are working it tells me that they are not. The ASM and C code are just being treated as comments. They do not cause any error but are simply not compiled and not executed. I also installed Nasm and Fasm and placed the corresponding paths however ASM code is still being ignored. Any help please?