|
-
Jun 25th, 2019, 10:17 PM
#10
Fanatic Member
Re: Call VB6 module function dynamically
 Originally Posted by sancarn
I think this is a long shot... But if I have a module named e.g. "mHello":
vb Code:
Function a() as Variant a=1 End Function Function b() as Variant b=2 End Function Function c() as Variant c=3 End Function
Can I get a handle to mHello such that GetProcAddress(addr,"b") gets the function handle of function b?
Alternatively, is there a way to call function b, and obtain the results, fully dynamically without going through Application.Run?
Have you looked at AddressOf and CallWindowProc ?
Or better Addressof and DispCallFunc.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|