Technology Toolbox: VB.NET, C#, VB6 Note: Karl Peterson's solution also works with VB5 Q: Pass Interfaces Through API After searching the newsgroups with Google, I thought I'd found a solution to processing API callbacks (specifically, EnumWindows) within a VB class module. As you know, AddressOf works only with standard BAS module routines. The technique I've been trying to implement involves "stealing" a reference to the class instance by copying a passed pointer into an...
http://www.fawcette.com/vsm/2002_08/...ne/columns/qa/