INFO: Modifying VTables with AddressOf Is Not Supported (166215)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
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.
REFERENCES
Visual Basic Programmer's Journal
Fawcette Technical Publications
March 1997, Volume 7, No. 3
"Modifying vtables with AddressOf." (pgs 131-133)
Modification Type: | Major | Last Reviewed: | 12/10/2003 |
---|
Keywords: | kbinfo kbpolicy KB166215 |
---|
|