README.md

December 5, 2022 ยท View on GitHub

Call Function by Address

Description

Call any Function by its address, API functions inside Dlls as well as your own Functions. Number of parameters is adjustable.

How to use: Just call CallByAddress with a pointer to the function and a parameter-array.

Example included.

How it works:

The windows api-function CallWindowProc will be used to call a small assembler-function which takes care of everithing for you.

More Info

All inputs are of 4 bytes, representating a long or dword.

This comes in handy when you want to write Plugins for programs that are written in C/C++ and give you some kind of Callback-Address. With this code you can easily add the ability to call fuction pointers to VB.

The return value of the Function must be long, of course.

Submitted On2007-11-02 23:11:00
ByAndreas Echstein
LevelAdvanced
User Rating4.5 (18 globes from 4 users)
CompatibilityVB 5.0, VB 6.0
CategoryVB function enhancement
WorldVisual Basic
Archive FileCall_Funct2089511142007.zip