BoxedApp Blog

BoxedApp: Tips'n'Tricks, Examples, Use Cases etc.

Use ActiveX components without registration


Many applications use ActiveX and COM components. But all ActiveXs should be registered in the system registry to be used properly. This is a problem:

  • registration in the registry requires admin rights
  • sometimes registration influences to other applications
    for example, your application uses Flash 7, but another application requires Flash 9
  • your application should register an ActiveX at startup and unregister it when ActiveX is not needed anymore
    for example, your application is so-called portable application

How to solve the task using BoxedApp?


How to embed Flash Player ActiveX using BoxedApp SDK


OK, let’s get started.

One of the most important features is embedding ActiveX into an application. BoxedAppSDK_RegisterCOMLibraryInVirtualRegistry registers a virtual file in a virtual registry. In detail, it loads a specified file (LoadLibrary) and calls DllRegisterServer (exported from the DLL). All changes made by DllRegisterServer are saved in the virtual registry; the system registry remains unchanged… (click to read more)