Questions tagged [regfreecom]

Registration-free COM interop is a Microsoft technology that activates COM components without using the Windows registry to store COM registration information.

Registration-free COM interop is a Microsoft technology that activates COM components without using the Windows registry to store COM registration information. Instead of registering a COM component on a computer during deployment, you create Win32-style manifest files at design time that contain information about binding and activation. These manifest files, rather than registry keys, direct the activation of a COM object.

Using registration-free activation for your assemblies instead of registering them during deployment offers two advantages:

  • You can control which DLL version is activated when more than one version is installed on a computer.
  • End users can use XCOPY or FTP to copy your application to an appropriate directory on their computer. The application can then be run from that directory.

(from http://msdn.microsoft.com/en-us/library/fh1h056h.aspx with small changes)

114 questions
8
votes
2 answers

Exact steps for registration-free COM interop in .NET (invoke copied COM dll without regsvr32)

I want to add a registration-free COM reference to my .NET app. Registration-free means users can run the app without registering the COM component to their system. I found a number of articles on this topic (e.g. MSDN, this S/O question, etc.) but…
NS.X.
  • 2,072
  • 5
  • 28
  • 55
7
votes
2 answers

debugging COM free registration (c++)

I've built a COM client application that uses two COM server dlls; I want this application to run without COM registration - ie: winsxs / .manifests I get a (...almost expected...) "Class not registered" message when I try to create an instance of…
loic
  • 185
  • 1
  • 7
7
votes
1 answer

How to create a manifest file for TLBs which are used for remote COM objects only?

My Delphi application Client.exe needs a couple of .tlb files to work. These files define server interfaces. The corresponding object instances are created with System.Win.ComObj.CreateRemoteComObject. What is the problem? For now the .tlb files…
Wosi
  • 41,986
  • 17
  • 75
  • 82
7
votes
4 answers

Is registration-free activation possible for EXE (out-of-process) COM servers?

I know that we can use CoLoadLibrary and DllGetClassObject to get the IClassFactory interface and get the COM component interface without registering the DLL. But what about a COM component in an EXE? Is there a way that I can get a COM component…
Gohan
  • 2,422
  • 2
  • 26
  • 45
7
votes
1 answer

Does anyone know which relation may exist between registration-free COM and drag/drop functionality?

Does anyone know which relation may exist between registration-free COM and drag/drop functionality? Specifically, we have a huge C++ CAD/CAM application comprising a number of EXEs and several hundreds DLLs. Many of them serve as COM servers (both…
Ilia
  • 425
  • 2
  • 10
6
votes
2 answers

How to use Registration free COM dll in dot net

In one of my Project, I have c# application which is using C++ DLL. Currently at client PC we are registering C++ DLLS at COM components in the registry so that we will use them in C#. I learn on NET that there is a Reg Free solution available from…
Hemant Kothiyal
  • 4,092
  • 19
  • 61
  • 80
5
votes
4 answers

How do I use Reg-Free COM for a vb6 dll reference in a .net project?

I've been trying to solve this issue for a long time, and nothing seems to work. I have a COM DLL written in vb6. I add a reference to this DLL in .net, with the 'isolated' and 'copy local' properties set to true on the reference. Apparently this is…
Craig Gidney
  • 17,763
  • 5
  • 68
  • 136
5
votes
1 answer

COM Components for Registration-Free Activation

I have managed application (named managed.exe) that uses unmanaged assembly (named unmanaged.dll). Until now we've create Interop.unmanaged.dll, the managed.exe application had reference to the interop, and the unmanaged.dll was registered at the…
Hila
  • 51
  • 3
5
votes
1 answer

Can we install VC++ 2015 Redistributable Package in custom location, where as non-administrator has rights to access?

We have VC++ projects in VS 2008 and Wpf Projects in 2010. We want to migrate both of them to Visual Studio 2015. The biggest problem we face, while a new user needed to install our software is, he need to install the pre-requisite of installing…
5
votes
1 answer

OleControl instantiated to wrong type - only when using in Reg Free COM?

I have an ActiveX control (created using C#) that I am adding to a form in Visual FoxPro using late binding. It works without problems when I register the control. I want to use reg free COM and created necessary manifest files. Now it load and…
embnut
  • 121
  • 5
5
votes
0 answers

Build Warnings - isolating COM reference

I have a couple active x controls referenced in my .NET 3.5 application that we use with reg free COM. When I build the solution builds successfully but with a bunch of warnings stating "Problem isolating COM reference 'ActiveXControl': Registry…
bknoll22
  • 53
  • 5
4
votes
1 answer

Using Activation Context API with many dlls in different locations

I am using Activation Context API in a .Net client running in a location A to load a COM component reg-free in location B (which is completely different location to A, not a sibling/descendent etc. on the same machine) on WS2008 by passing in…
HammerIp
  • 211
  • 1
  • 2
  • 11
4
votes
1 answer

Can a Registration-Free COM component be used without registering it on the development machine?

I have a Registration-Free COM component I developed that is working fine on target machines without needing to register the component. It is in a dll that has tlb embedded, and an RT_MANIFEST resource that has the manifest that lists the assembly…
dschaeffer
  • 618
  • 6
  • 15
4
votes
2 answers

Is it possible to use registration-free COM with HTA applications?

Since HTA applications are hosted within MSHTA.exe how does one provide a manifest? Plus I assume providing a MSHTA.exe.manifest could potentially break other HTA apps?
Matt Davison
  • 1,544
  • 10
  • 11
4
votes
2 answers

Using registration free com in a .NET app

I'm trying to use a 3rd party COM DLL (I don't believe its a .NET component) from a .NET service without registering the COM DLL but I'm having no luck so far. I've copied the manifest files from here…
cheesemp
  • 307
  • 1
  • 3
  • 10