|
-
May 21st, 2006, 03:32 AM
#1
Thread Starter
Fanatic Member
[2005] Calling a pointer
I have a vc++ 6.0 dll that is from a 3rd party (i.e. I don't have the source).
One of the functions I need to call in the dll is not exported, but I get a pointer to instead. It's got 6 parameters of varying types.
How do I call this pointer from vb? The CallWindowProc trick won't work as there are not enough params for this (only four for CallWindowProc) but the function I need to call has six.
Aside from writing a stand-in dll in vc++ that simply calls pointers, how can I call a function pointer in vb.net 2005 without CallWindProc?
This is what I thought Delegates were for, but I can't seem to attach them to a pointer (only a hardcoded method).
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
|