Microsoft KB Archive/166215

= INFO: Modifying VTables with AddressOf Is Not Supported =

Article ID: 166215

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Control Creation Edition
 * Microsoft Visual Basic 5.0 Learning Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition

-



This article was previously published under Q166215



SUMMARY
In the March 1997 issue of the Visual Basic Programmer's Journal, an article by Matthew Curland and William Storage was published which featured a technique for simulating the calling of function pointers in Microsoft Visual Basic 5.0.



MORE INFORMATION
As described in the article, the technique requires modification of a class's VTable through the use of the AddressOf operator and the CopyMemory and VirtualProtect Win32 API functions.

Modifying VTables and the technique described in the article are not supported by Microsoft.

Visual Basic Programmer's Journal is published by Fawcette Technical Publications, a publisher independent of Microsoft; we make no warranty, implied or otherwise, regarding this publication's content or reliability.

