Results 1 to 2 of 2

Thread: Dynamic ActiveX DLL Loading

  1. #1

    Thread Starter
    Addicted Member Bazza81's Avatar
    Join Date
    Apr 2001
    Location
    Nottingham, UK
    Posts
    203

    Dynamic ActiveX DLL Loading

    I know its possible but how would one go about dyanmically loading an ActiveX DLL at runtime? I am developing an application that uses plugins and so I need to dynamically load an ActiveX DLL at runtime. For instance:

    C:\DllTest1.dll
    C:\DllTest2.dll
    Etc
    Etc

    Is there anyway of loading these if/when I want to (becuase the dll's could be called anything)

    Thanks
    Who needs rhetorical questions anyway?


    Bazza NET - The place you want to be!

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You can use CreateObject but you'll need to know the Library Name and the Class Name. If you need to get this information then make a reference to the TypeLibInfomation object and mess with it.

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