OCX Registration requiring use as a Type Library
Posted: Fri Mar 09, 2012 8:11 pm
I am using Far Point Spread 8.0 as a component in my virtualized application. Normally, if I want to register this .ocx manually using RegSvr32 I need to have to run RegSvr32 with administrator rights. The reason for this is that the .ocx needs to be accessed as a Type Library in addition to the basic Com interface. I am using Delphi as a the development tool.
As things stand, I am getting an access violation when I try to create an instance of the .ocx object in my application at runtime. The "Type Library" requirement does not seem to be handled. I think some kind of additional flag has to be set in a Windows Api call. Surely using a virtual registry means that I should not need administration rights? I am pretty sure its an additional flag or parameter call setting.
Otherwise everything else works really well including firing Firebird as an embedded database (even using the Windows 8 Consumer Preview as an operating system! Brilliant!).
Thanks.
As things stand, I am getting an access violation when I try to create an instance of the .ocx object in my application at runtime. The "Type Library" requirement does not seem to be handled. I think some kind of additional flag has to be set in a Windows Api call. Surely using a virtual registry means that I should not need administration rights? I am pretty sure its an additional flag or parameter call setting.
Otherwise everything else works really well including firing Firebird as an embedded database (even using the Windows 8 Consumer Preview as an operating system! Brilliant!).
Thanks.