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
1
vote
1 answer

ActiveX component can't create object with reg-free com until after restart

When I install a new version of the application that is using an ActiveX library through Reg-free com (using a manifest file) I get "ActiveX component can't create object" error. However, when I restart the machine and run the application again, the…
steverb
  • 1,415
  • 1
  • 10
  • 12
1
vote
1 answer

How do I handle COM events regfree?

I am trying to handle COM events from a C# server to a C++ client. I am able to use the server regfree but my events no longer work. Previously, with registration, the events were handled in the client via IDispEventImpl from the ATL. I haven't been…
Fredrick
  • 1,210
  • 2
  • 15
  • 24
1
vote
0 answers

RegFreeCom not resolving clsid from progid

So, I have a COM object that I am attempting to load using registration free COM. I created a manifest for the .ocx, that looks like this:
Chris Becke
  • 750
  • 4
  • 10
1
vote
0 answers

How to load a registry free COM dll in plugin dll which is loaded by third party application?

I have got the registry free COM working with a sample application following the steps given here. https://msdn.microsoft.com/en-us/library/ms973913.aspx[^] Now I need to load the same reg free COM from a dll and not from an application directly. I…
1
vote
3 answers

Reg-Free COM not working for me

I am trying to see if Reg-Free COM is something we can use in our web application to ease deployment of legacy COM components. However, before I get onto looking into things like using it for Interop situations, I can't get a simple test to work.…
Matt Roberts
  • 26,371
  • 31
  • 103
  • 180
1
vote
1 answer

Probing .NET Assembly with Registration Free COM/.NET Interop

We have one assembly that is used by the VB6 executable via COM Interop. This assembly uses other .NET assembly (not available for COM). We have defined a .manifest for our VB6 application, so that we can use the .NET assembly without registration.…
Jehof
  • 34,674
  • 10
  • 123
  • 155
1
vote
1 answer

Registration-Free COM Interop: Deactivating activation context in finalizer throws SEHException

I am currently working on a mixed managed / native work chain and need to create an activation context for registration-free COM support (see Embed a Registration-Free COM manifest into a C# dll with native/managed environment). The following…
Aurora
  • 1,334
  • 8
  • 21
1
vote
1 answer

multi-platform regisration-free COM with .NET app

I have a .NET application that uses a COM component. The application itself is "Any CPU", but the COM component has a 32-bit and 64-bit version. The article http://msdn.microsoft.com/en-us/magazine/cc188708.aspx is clear on what to do for…
moogs
  • 8,122
  • 8
  • 44
  • 60
1
vote
2 answers

Can ASP Classic use registration free components?

Like the topic says, can ASP Classic use registration free components? This is on Windows Server 2003. If so, how do I go about doing that? If not, could anyone please provide some alternatives?
Mike
  • 139
  • 1
  • 6
1
vote
1 answer

Can any 3rd party COM component be used with registration-free COM?

Looking at registration-free COM it is still unclear to me whether you can just take any existing, completely unaware COM component(*) and use it in a registration-free way by adding the correct manifest files. Is this supposed to work in all…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
1
vote
1 answer

Does registration free COM work when the same interface is also registered?

You can use registration free COM to avoid having to register a COM dll with the registry. What I'm currently trying to figure out is whether this is still supposed to work when the component you are trying to use is also independently registered…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
1
vote
0 answers

Unmanaged C++ regfree COM application: problems when launching from IDE with parent directory in path (VS2010)

I have an application A and a DLL B, both unmanaged C++ built in VS2010. DLL B is a COM server. A uses both implicit C++ linkage to B for some methods and classes but it is also accessing coclasses implemented in B via COM. This all works fine when…
themik81
  • 401
  • 6
  • 17
1
vote
2 answers

How to force creation of manifest file in release folder?

This is driving me crazy. I have developed a .NET COM DLL that is used by a VB6 DLL wrapper in order to update and replace some legacy functions in an application. I am now trying to remove the requirement to use regasm on client machines so have…
Carl Onager
  • 4,112
  • 2
  • 38
  • 66
1
vote
1 answer

Registration-Free COM in ASP WebPage

I have a Webpage application which uses in the code behind DLL's and OCX's, some of these DLLs are VB6 ones and the others are C++. At the moment the access to these DLL's / OCX's is through the registy, i would like to change this using RegFree…
CloudyMarble
  • 36,908
  • 70
  • 97
  • 130
1
vote
1 answer

Initialization of Net .dll's through a RegFree Com-visible wrapper fails only from one specific directory

I experienced something very curious: We have currently a hybrid VB6/Net application. The VB6 code calls the Net code through Com-Visible Net Wrappers wich are activated through RegFree Com (manifests). This works very well, our customers can have…
Dabblernl
  • 15,831
  • 18
  • 96
  • 148