View Single Post
  #6  
Old 07-09-2009, 05:39
IWarez IWarez is offline
Friend
 
Join Date: Jul 2003
Posts: 41
Rept. Given: 7
Rept. Rcvd 6 Times in 2 Posts
Thanks Given: 1
Thanks Rcvd at 0 Times in 0 Posts
IWarez Reputation: 7
I see. I tried for myself on Vista and had no problem getting the address of the function you specified. I made my own VB6 test and attached it. Your problem might be in not using 'Option Explicit' and thus using undeclared variables and variants. I highly recommend to enable it.

An additional note: You can use Exit For to exit a For..Next loop. GoTo is forbidden, even in VB6
Attached Files
File Type: zip GetProcAddress.zip (4.3 KB, 13 views)
Reply With Quote