|
-
May 2nd, 2024, 04:24 AM
#9
Re: Early Bound Objects and Standard StdCall DLLs
 Originally Posted by The trick
No. You can either use a typelib with needed interface (just use ActiveX DLL itself)
I don't quite understand this, how can you use the typelib from the ActiveX DLL without registration? It doesn't work to declare an object As ClassNameFromDLL without registration. Ah, you mean export the typelib and use it in another project, now I get it...
or just use a class with the same structure of the methods - VB6 creates the same VTable for similar classes only IID are different. You could return a raw pointer to object and put it to your class interface variable.
This works great, just tested it. Very, very clever!
Last edited by VanGoghGaming; May 2nd, 2024 at 04:28 AM.
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
|