|
-
Apr 28th, 2020, 01:20 AM
#10
Thread Starter
Lively Member
Re: Modernizing the VB6 IDE
Sadly the patches only work for the English SP6 version. I don't have the other language binaries handy to make patches from. If you can provide the files I might be able to attempt for you.
If you are adamant on making the patches yourself, here are some instructions:
First you have to acquire the original English VB6 files. They're available for free from the VB6 SP6 pack downloadable from Microsoft. Extract the .cab files to retrieve the original VB6.EXE, VBA6.DLL and VB6IDE.DLL files. Patch those with the supplied xdelta files then open them in Resource Hacker and extract the resources. Then you can apply the extracted resources to your local files. That would transfer over most of the the changes.
The only thing you'd be missing then is the assembly patch for VB6.exe to load the new 24-bit images, otherwise it will load them in reduced 4-bit color. This step is a fair bit more complex however and requires a good knowlege of computer internals to perform. To perform this patch you must open VB6.EXE (post resource patching) into a disassembler like OllyDbg, IDA Pro or x64dbg and locate the calls to LoadImageW that load the bitmap resources 6000, 6700 and 6701, which all need to be patched. I recommend using API Monitor intercepting that specific API until you see it load the relevant resources. You can then obtain the correct offsets for the calls from API Monitor. After you have the offsets, you have to edit the VB6.exe executable with your disassembler of choice and replace the fuLoad parameter in those calls, to ensure it pushes LR_CREATEDIBSECTION onto the stack. Depending on your executable's binary code this may involve some very basic assembly control flow rerouting to fit.
Last edited by LinkFX; Apr 28th, 2020 at 03:55 AM.
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
|