activex-exe

Simulating SideBySide for Out of Process ActiveX

风流意气都作罢 提交于 2019-12-21 20:42:23
问题 We are adapting our client side relatively complicated application (ActiveX / .net / Delphi / C++ / COM ) to use SxS to achieve non admin deployment and isolation from older versions of our product. We were able to achieve this goal for almost all our in proc components such as our .net ui, Delphi ui, and the COM servers we use in proc by composing a manifest file which described all the libraries used by our process, with no registration on the client of any of the components (almost). And

API Equivalent of running SomeActiveX.Exe /regserver

坚强是说给别人听的谎言 提交于 2019-12-08 02:09:59
问题 I need to register an ActiveX exe programmatically and Shell(SomeActiveX.Exe /regserver) is not sufficient. Is anyone aware of an API equivalent? 回答1: You can use DllRegisterServer to register a COM component programatically, if it's an in-process com object. Here is a VB6 example on MSDN. To register an out of process COM object, things get tricky. See Exposing ActiveX Objects. The Hello Sample shows some of the options. Larry Osterman blogged about this for background info. In general, if

API Equivalent of running SomeActiveX.Exe /regserver

依然范特西╮ 提交于 2019-12-06 13:32:25
I need to register an ActiveX exe programmatically and Shell(SomeActiveX.Exe /regserver) is not sufficient. Is anyone aware of an API equivalent? You can use DllRegisterServer to register a COM component programatically, if it's an in-process com object. Here is a VB6 example on MSDN . To register an out of process COM object, things get tricky. See Exposing ActiveX Objects . The Hello Sample shows some of the options. Larry Osterman blogged about this for background info. In general, if you need to do this to an EXE, shelling out to *.EXE /regserver will be much easier. You could try using

Simulating SideBySide for Out of Process ActiveX

怎甘沉沦 提交于 2019-12-04 13:09:00
We are adapting our client side relatively complicated application (ActiveX / .net / Delphi / C++ / COM ) to use SxS to achieve non admin deployment and isolation from older versions of our product. We were able to achieve this goal for almost all our in proc components such as our .net ui, Delphi ui, and the COM servers we use in proc by composing a manifest file which described all the libraries used by our process, with no registration on the client of any of the components (almost). And here comes the almost part: At the moment, our application invokes (from it's c++ portion) an out of

How to write an EXE which is also a COM Server in Delphi

我只是一个虾纸丫 提交于 2019-12-04 03:33:12
问题 I have a Delphi (2007) application which is just a standard exe, and I would like to add a COM interface to it. I already have a COM dll which exports several COM objects and this is working perfectly. However when I attempted to insert the COM logic from the dll (ie the "exports" and "{$R *.TLB}" and the relevant uses) into the EXE's dpr file it all compiles perfectly but refuses to register when I call regsvr32 myname.exe I also tried creating an completely new VCLForms application and