Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An alternative to "addressof"?

Status
Not open for further replies.

Jasen

IS-IT--Management
May 1, 2002
435
US
I'm working with a program that uses a VBA type scripting language at the moment. It has most of the functionality of normal VB, but is definitely missing many things. I would liken it to VB4. So, it does not support the "addressof" keyword.
I'm trying to use an API call (it does support declaring these) and need to pass the address of a function in the script.
Are there other, more difficult, ways of returning the address of a function, like perhaps with another API call?
How did you old schoolers do it before VB5 came out?
 
>How did you old schoolers do it before VB5 came out?

We generally didn't. We used MSGBLAST.VBX or MSGHOOK.VBX for the times we needed to catch Windows messages
 
Maybe you could write your main program in VB6 and then, from your scripting langueage, control it with DDE, OLE or somesuch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top