Results 1 to 33 of 33

Thread: [RESOLVED] Early Bound Objects and Standard StdCall DLLs

Threaded View

  1. #9
    PowerPoster VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    2,656

    Talking Re: Early Bound Objects and Standard StdCall DLLs

    Quote Originally Posted by The trick View Post
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width