I have made a program that uses packages to install additional
features. The packages are dynamically loaded at startup. Everything
works perfectly.Now, I want to make an ActiveX component of my program so I created an
ActiveForm wrapper. Everything works fine, except the dynamic loading
of the additional packages. The LoadPackage procedure raises an
exception which tells me that The package could not be loaded because a
DLL needed could not be found.I tried everything, including trying to load an "empty" package which
requires no other packages or dll:s. My question is: Is there some kind
of restriction that says you can't load packages dynamically from
within an ocx or...?I'm using Delphi 5 and Internet Explorer 5 as an host application. The
program uses runtime packages.