New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

Checking for a registered .ocx Dll

  • Filter
  • Time
  • Show
Clear All
new posts

  • Checking for a registered .ocx Dll

    I can install a third party .ocx Dll with Inno. This puts the file in the system folder and registers it.. we hope.

    I want to check for a .ocx .Dll when my app launches so that it doesnt try to access it unless it is installed and registered.

    Assuming it was registered with regserver by shelling Regsvr32, how do you detect a registered .ocx by name, or even the exposed methods?

    If it is not registered, I would need to register it programatically. I also need to do this in situations where i do not use the installer, like online upgrades.

    is this:
    The definitive code for doing that?