registration-free-com

Consuming EXE server through quasi Isolated COM

冷暖自知 提交于 2021-01-28 22:11:26
问题 I have been able to use manifests and especially the MSBuild task GenerateApplicationManifest so that our main application uses Isolated COM. I can create all the COM objects implemented in DLLs that I need without having to register the DLLs on my client machine. But, I'm greedy... Our application suite also has some separate applications that are invoked through COM, generally. For these, it is said that you can't do EXE to EXE isolated COM. Strictly speaking, that is true, but I have

Can a SilverLight component instantiate a registration-free COM-visible .NET object

↘锁芯ラ 提交于 2019-12-25 01:44:31
问题 We are trying to load in SilverLight 5.0 component running in IE a COM-visible .NET object registration-free using the activation context API. http://msdn.microsoft.com/en-us/library/ms973913.aspx The SilverLight component is runnning as a trusted application in the browser as described in http://msdn.microsoft.com/en-us/library/gg192793(v=vs.95).aspx. The object can be loaded in a stand-alone test application using the activation context API so the manifest is properly formed. In SiverLight

Cannot get registration-free COM working from VBA

岁酱吖の 提交于 2019-12-21 12:12:04
问题 UPDATE: After spending 20+ hours trying to get a simple example working, I have realized that this is not as simple as it seems. Articles like this reveal the "gotchas" - and this was written before Windows 7 (which handles manifests differently). I'm sticking with exposing .NET assemblies to VBA via VSTO. I made a simple COM-Visible .NET assembly and am trying to call it from Excel VBA. If I "Register for COM Interop" during my .NET build, I can call it from VBA successfully. Sub VBA() Dim

How to use embedded registration-free manifest for ActiveX component from managed code like C#?

﹥>﹥吖頭↗ 提交于 2019-12-08 09:07:02
问题 I would like to use a specific version of ActiveX component that is not registered system- or user-wide. Everything works as expected if I use manifest files. However embedded manifest works only for C++ client code only. Here is dependency declaration <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="MapWinGIS.ocx" version="4.9.1.0" /> </dependentAssembly> </dependency> If I use SxStrace, I see the following INFO: Parsing Manifest File C:\OSGeo4W\bin\TestApplication.exe.