Questions tagged [registration-free-com]
30 questions
1
vote
1 answer
Registration-free COM/DLL with multiple versions of the same typelib (SxS)
In the question below, has a very nice instruction on how to make a Delphi use ActiveX controls in a registration free manner.
Registration-free COM/DLL?
But I have an additional question - can this also be used to support multiple versions of the…

R. Hoek
- 916
- 8
- 27
1
vote
1 answer
Loading unregistered .NET assembly from unmanaged native C++ library within Java application
I am using a Java application that can be extended with custom packages that may include native code, as such I have no control over the Java environment other than the ability to add extension jars.
In this instance, I need to be able to call C#…

pticawr
- 551
- 5
- 8
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
2 answers
.NET Framework (v 4.0) COM Registration free called from Win32 C++ application
I need to create a registration free COM object in .Net Framework using C#.
I've followed the MSDN walkthrough. I've to work on it because, or it is not enough clear to me, or it is not correct, however this is an old post and I use Visual Studio…

Alessandro Ciurlo
- 102
- 1
- 2
- 11
1
vote
0 answers
Using Microsoft Office DLLs registration free?
I'm working on a C# application that needs to be able to connect to an MS Access database and use some of the database objects stored there.
Since some of the people who later on might have to make some minor changes in the Access related code are…

su_li
- 199
- 9
1
vote
1 answer
Registration-free COM When Dll Located in Separate Folder
This question has been asked before on SO for example here and here. The scenario is that one wants to use a COM component in their application without having to register the COM component on the machine. This is accomplished by adding two manifest…

Farhad Alizadeh Noori
- 2,276
- 17
- 22
1
vote
1 answer
How does SXS chooses which framework version should be loaded?
I'm currently working on getting .NET Assemblies (with COM classes) to work registration free.
It works well, however i have one issue which i can't seem to pin-point the exact cause.
My issue is, assembly binding isn't done on the correct .NET…

Carl Quirion
- 765
- 5
- 25
0
votes
0 answers
Creating a registration free python COM component
I've been trying to understand COM libraries but I'm still confused. If I want to make a python object com visible, the only instructions I can find are to make a python script that sets up a COM server which is invoked and used to generate class…

Greedo
- 4,967
- 2
- 30
- 78
0
votes
0 answers
Why is a .NET COM event throwing "Object does not match target type" when raised?
TL;DR: A COM event which works in most circumstances, throws a System.Reflection.TargetException when
The COM server is deployed using registration free SxS
And the event is raised by a WCF service host
We're using a complicated architecture to…

RMart
- 548
- 1
- 5
- 20
0
votes
2 answers
Registration Free COM Interop Initialization - parameterless constructor
I need to write a Registration Free COM Interop library see MSDN link
One of the requirements is, and I quote
"For a .NET-based class to be compatible with registry-free activation from COM, the class must have a default constructor and must be…

0909EM
- 4,761
- 3
- 29
- 40
0
votes
1 answer
Is there a way to view COM entries by traversing a TLB file in .NET?
I'm converting an application to use registration free COM. There are a few 3rd party COM dll's that would normally have regsvr32 called on them. I tested that I can create objects from these 3rd party dlls by making a side-by-side manifest.
I used…

C. Tewalt
- 2,271
- 2
- 30
- 49
0
votes
0 answers
Reg Free COM Interop not working under XP
We are using a major piece of software in our company that has been written in VB6 and is too large to migrate. Furthermore we have some old Windows XP PCs that are still being used (no argument, its not my decision). We want to add new…

user2696330
- 143
- 11
0
votes
1 answer
C# Project add reference - dynamic path based on configuration?
One of my C# project needs to reference a .dll that is manually created (post build event) using tlbimp.exe after building another project. The reason is because I have chosen to deprecate DLL registration due to the fact that our development…

user2584960
- 645
- 1
- 6
- 20
0
votes
1 answer
Can a SilverLight component instantiate a registration-free COM-visible .NET object
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…

rgeorg
- 71
- 9
0
votes
1 answer
Why is the loader looking in registry for my Registration-Free COM component?
I've been successfully using registration-free COM to load COM components into my .Net process. Suddenly something has changed (whilst I was out at lunch, it seems :-) ) and the loading process has stopped working.
Whereas before my COM components…

Samuel Jack
- 32,712
- 16
- 118
- 155