Thank you for your email, but I have some additional questions:
1) In your procedure CreateVirtualFlashOCX I change only 'C:\Flash9e.ocx' to 'Test.dll' if I have my automation object packed into Test.dll activeX library
( all other code remains untouched)
2) How could I access properties and methods from my dll? - for instance if I have there property 'Left' - how could I set or get property value; if I have method 'Calc' - how do I call it?
3) If I have exe application which includes automation object, how could I register it? - by default application register itself.
4) How to write to registry - Vista have here limitations!!