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)

108 questions
3
votes
1 answer

Why is it not possible to call RegFree COM and .NET from the VB IDE (VB6 & VBA)?

I have an example project with works when called from compiled VB6 but not from the IDE or from Excel's VBE. There are 3 DLLs QA.DLL, QB.DLL, QAW.DLL. QA is written in C#.NET, QB and QAW are written in VB6. QAW is a COM wrapper of QA. In the calling…
DangerMouse
  • 91
  • 1
  • 2
3
votes
1 answer

RegFree DLL with CPython using win32com module

I am currently using the win32com module of CPython to use a DLL. I know some people using IronPython to automagically get the list of functions provided by this DLL. They don't need to register the DLL. I'd like to do the same as them but with…
GIL
  • 31
  • 2
3
votes
1 answer

Is it correct to load the assembly manifest directly into the application context?

I'm currently trying to get a rather tangled scheme running with registration free COM. It's not that it is not working, it's that I have hit a kind of confusing situation, where it seems I should active the manifest of the assembly dependency…
Martin Ba
  • 33,741
  • 27
  • 150
  • 304
3
votes
1 answer

Where do I need to switch the Activation Context?

The problem I'm facing is essentially described here, that is: I have a DLL that is using a 3rd party in-process COM component dll. I want to use registration free COM with that in-process component. I want to embed and use a manfest into this DLL…
Martin Ba
  • 33,741
  • 27
  • 150
  • 304
3
votes
1 answer

How to prevent embedded manifest from being used?

I am working on many apps that uses RegFree COM Activation, everything works well except that one of the application is ran using an older technology that uses a JIT-type compiler. To get RegFree COM working, i have to provide a manifest to the…
Carl Quirion
  • 649
  • 4
  • 17
3
votes
1 answer

Developing Reg-Free COM application with VB6

I'm maintaining a VB6 application with many COM components (DLLs and OCXs). In order to streamline development and deployment I'd like to use reg-free com. The problem with development is that the application runs within the VB6.EXE instance. How…
Doc
  • 192
  • 3
  • 13
2
votes
1 answer

Registration-Free COM from ASP.NET?

Windows allows use of a COM object without having to register the COM dll. The mechanism is to include a "dependent assembly" in the application's manifest: MyProgram.exe.manifest
Ian Boyd
  • 220,884
  • 228
  • 805
  • 1,125
2
votes
1 answer

Reg-free COM - location of COM dll relative to client exe

I want to use reg-free com so that I don't have to register my legacy com component. However, I would like to be able to put the com dll in a location which is not in or below the directory of the client exe, e.g. ....\lib. I'm not able to do this…
HammerIp
  • 211
  • 1
  • 2
  • 11
2
votes
1 answer

Setting up isolated COM for multiple projects

My solution consists of multiple projects all of which out type class library except one whose output type is windows application. The application references all the other projects. I also have a COM component which is referenced by some of the…
Praneeth
  • 121
  • 4
2
votes
3 answers

.Net CCW no events with registration-free COM!

I have a COM Callable Wrapper that I'm using from a VB6 program, but the program won't receive COM events unless the CCW is registered. Otherwise, the CCW works fine, just no events until I remove the program's manifest file and register the CCW…
Wayne Bloss
  • 4,898
  • 5
  • 42
  • 70
2
votes
1 answer

Can you use a manifest file to tell a VB6 app .EXE to access certain versions of OCXs?

I have a VB6 app .EXE which uses Microsoft-created OCXs such as RICHTX32.OCX and MSACAL70.OCX. I experience problems with both these OCXs. Essentially this is a DLL-Hell problem. If I use a .manifest file for the .EXE, can I instruct the .EXE to…
CraigJ
  • 81
  • 5
2
votes
1 answer

Activate a (COM Interop based) ActiveX contol using registration free com

I have a (COM Interop based) ActiveX contol that I am trying to use with registration free com. When the control loads the control is inactive (does not responds to events, control not fully rendered etc). After much search I discovered that COM…
embnut
  • 121
  • 5
2
votes
1 answer

Events not sent to WPF based ActiveX control (COM interop) when using Reg-Free-COM

I have a WPF based ActiveX control (COM interop). I am able to use it correctly by registering the control. When I tried to Reg-Free-COM (using manifest files) the control seems to be activated, but the events (such as mouse click,…
embnut
  • 121
  • 5
2
votes
2 answers

How to create isolated/reg-free COM between Visual Basic DLLs and a C++ DLL?

I have to use a VB (COM) DLL in a C++ DLL. I figured out how to access the VB (COM) DLL from the C++ DLL and it works. Now I've got the problem that I have to use isolated COM/reg-free COM because I can't register the DLL on every PC it has to be…
user4391669
2
votes
1 answer

VB6 compile against side-by-side assembly

I have a DLL written in C# and set for COM visibility. I have it setup as a side-by-side assembly and can successfully deploy the application to client PCs registration free. My question is related to the development PC. Is it possible to compile…
davidk
  • 690
  • 1
  • 5
  • 16