April 19, 2001

Implement the CallByName function using the TLI library

Thanks to the undocumented TlbInf32 library you can emulate the VB6 CallByName() function in VB5 too. First, add a reference to the “TypeLib Information” type library in your project. This library contains the InvokeHook function, which is very similar to CallByName.Let’s suppose you have an ActiveX DLL called MyServer.dll that