Questions tagged [registration-free-com]

30 questions
10
votes
2 answers

Callback from .Net COM dll to Delphi client in registration-free (side-by-side) COM

TLDR: I'm trying to call async callbacks from a .Net COM dll to Delphi client .exe, but these does not seem to work properly in registration-free COM, while synchronous callbacks do work, and also async callbacks are working when it's not a reg-free…
Mikhail
  • 1,223
  • 14
  • 25
9
votes
1 answer

Registration Free COM, Threading Models, MT.exe and *.RGS scripts

I have a registration free C++ COM component whose manifest I am generating with mt.exe using VS2010. Everything works except I cannot specify which threading model my classes use. I created a small repro project, whose generated manifest file…
Matt
  • 253
  • 3
  • 9
8
votes
2 answers

How can we unit test our c++ COM code without registering the dlls?

We are trying to add unit testing to out legacy c++ COM application. We also need our build machines to be able to runt he unit tests to ensure each build hasn't introduced errors. However we don't want the build machines to have to register the…
8
votes
1 answer

Cannot get registration-free COM working from VBA

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). …
mr_plum
  • 2,448
  • 1
  • 18
  • 31
3
votes
0 answers

Registration-Free COM not playing nice with single threaded objects. Activation context dropped during marshaling

I'm working on integrating a COM/CLI based library into a Java based application through JNI (yeah, it's a bit of a mess). For the most part it's working, but I've hit a bit of a snag when it comes to how activation contexts interact with single…
finalman
  • 774
  • 5
  • 14
3
votes
0 answers

Using Registration-Free COM Interop with a C# .NET DLL without codebase/GAC?

I have a C# .NET DLL that is exposed through COM Interop for which I have generated a manifest file. The DLL is being consumed through an Excel VBAProject using CreateActCtx and CreateObject to create my objects. Everything works fine, however... I…
robodude666
  • 178
  • 1
  • 13
3
votes
2 answers

Visual Studio causing embedded assembly manifest to be ignored while debugging

My .NET client application has a dependancy on another assembly. This dependancy is declared in an app.manifest file: app.manifest
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
2
votes
1 answer

Reg-free COM out of process EXE

I have several components (multiple .dlls, one .exe) which I need to use registration free. In my sxs manifest I've listed the dll files as;
2
votes
0 answers

Registration free com delphi

So i have a dll which i want to use with com. It was made in c# and i want to use the dll in delphi. My user is so restricted that registering a dll may be a real pain. And i've been told that something like registration free com exsits so i tried…
John
  • 261
  • 2
  • 16
2
votes
2 answers

Consuming EXE server through quasi Isolated COM

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…
Joseph Willcoxson
  • 5,853
  • 1
  • 15
  • 29
2
votes
1 answer

Reg-Free Out-of-process COM server events

we are trying to change and in-proc COM object to an out-of-proc COM object. The new process just passes an Dispatch to previously used COM Object, so we can optionally go back to an in-proc object. This is working fine, but we encounter problems…
bazz-dee
  • 687
  • 5
  • 23
2
votes
2 answers

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

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…
mlt
  • 1,595
  • 2
  • 21
  • 52
1
vote
0 answers

mt.exe -replacements: xml file structure for registration free COM component is not documented

I am using mt.exe to generate a manifest for a registry free C++ COM component. The .rgs file passed on the command line has some replaceable strings whose value must be stored in a .xml file passed to the -replacements argument. The thing is, there…
1
vote
0 answers

How to generate ISPAC files from command line without installing any tools

I have a request to automate the process of generating ISPAC files as part of our automated build system (currently this is being done manually from a developer machine). The way the build system is configured all the tools reside in source control…
1
vote
1 answer

Powershell cannot use COM object when registration-free COM is used

I am trying to use COM object in regitration-free fashion in powershell. My component is x86 and poweshell_ise.exe is x86 also. To do this I have created manifest for dll-based com server:
Nosturion
  • 289
  • 3
  • 12
1
2