by Ion Alex Ionescu (9 Submissions)
Category: Windows API Call/Explanation
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (10 Votes)
Hi Everyone!
They said it couldn't be done! Well, here I am, back from the shadows, with some new low-level information to share. Although I'm known for my NT Articles (check out the one this month... 130 pages!), this month I've also decided to enhance the life of every VB Programmer out there.
This code is the "World's First VB DLL callable from C/ASM". Some explenations: thanks to some addins out there, you can now create DLLs that contain exports. Unforunately, those exports will not work if they are called from any other application then VB (with some exceptions). This is because the runtime is not intialized properly by the application which calls them (and it won't know how to).
So, thanks to the Relsoft DLL Compiler (a Demo version is included in the ZIP files), you can now create a DLL in Visual Basic that contains exports, and that a foreign language will be able to call, after setting up a small "context". This allows you to call *most* (but not ALL) VB intrinsic functions. Here's what's included:
- The full source code to the DLL, which you can modify to adjust to your own needs.
- Source code in C and ASM to call the Export in the DLL, free for you to modify and implant into your own projects. It's easily convertible to Delphi/PowerBasic.
- The Demo version of the Relsoft DLL Compiler, which allows *TEN* compilations.
- A short readme.
Enjoy! And please vote!
Please remember to rename dllcompilerVBC.ex_ to EXE and Install it :)
Upload