Questions tagged [sxs]
48 questions
21
votes
3 answers
Is anyone successfully using registration-free COM with .NET components?
Until recently, we were happily using registration-free COM for our native and .NET COM components. However, we ran into a weird issue where our application started crashing randomly on windows XP SP3 (but not on vista) after we only changed the…

Wim Coenen
- 66,094
- 13
- 157
- 251
11
votes
1 answer
Java SxS (side by side) configuration
I am facing a very obscure issue, while I am trying to run a java app in Windows, Side by Side (SxS).
I have done all the preparation creating the java.exe.config and java.exe.manifest files, which I have in the same folder with the JRE.
The…

nikkatsa
- 1,751
- 4
- 26
- 43
8
votes
5 answers
Registration-Free COM Interop and Dependent Assemblies
We are working on an integration of a large MFC-based application with a handful of managed (.NET) add-ins. Communication with these add-ins is done via COM.
Historically, we've just used the registry to make these add-ins available (as COM servers)…

Jeff
- 1,577
- 1
- 11
- 8
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
6
votes
3 answers
Where can the Sources\SxS” folder be obtained from?
I am getting an error when I run this command in PowerShell:
Install-WindowsFeature -Name Web-Net-Ext -source D:\Sources\SxS
Install-WindowsFeature : The request to add or remove features on the
specified server failed. Installation of one or…

Cataster
- 3,081
- 5
- 32
- 79
5
votes
2 answers
Side by Side dependency between C++ and C#
I'm making a browser plugin using FireBreath Framework. Most of logic is written on C# and to call it from browser I've made a C++ wrapper. Browsers call C++ Native code which calls "proxy" Managed C++ code which calls an actual logic in C#…

Andrey Osipov
- 71
- 5
5
votes
1 answer
Activation Context lost when working with WinForm?
I have an application that uses some classes from a native COM dll in Isolated Deployment.
Simplified:
In run-time I download the dll with its manifest file to a certain
directory without registering it.
I then create an Activation Context pointing…

Erez Cohen
- 1,507
- 2
- 16
- 25
5
votes
2 answers
COM interop side-by-side assemblies
I need to deploy multiple versions of the same C# .NET project. The project output is a COM interop assembly to be used in a native application. The problem I'm having is that I have to deploy several versions of this assembly side-by-side but…

Bent Rasmussen
- 5,538
- 9
- 44
- 63
5
votes
6 answers
Adding Boost makes Debug build depend on "non-D" MSVC runtime DLLs
I have an annoying problem which I might be able to somehow circumvent, but on the other hand would much rather be on top of it and understand what exactly is going on, since it looks like this stuff is really here to stay.
Here's the story: I have…

Reunanen
- 7,921
- 2
- 35
- 57
4
votes
3 answers
Visual studio redistributable & side-by-side / DependentAssembly error
(I'm running Windows7 and using Visual Studio 2010.)
I'm using ClamAV in a .NET Azure project, and I'm running into side-by-side errors whenever I run clamd.exe, either through my code or by running clamd.exe on it's own.
In Visual Studio 2010 I am…

Civilian
- 614
- 2
- 9
- 29
4
votes
2 answers
Strange Case of the missing method: SXS and Controls.Add results in "object doesn't support this property or method"?
I have a project written in VB6 that uses a UserControl, The project runs fine when the OCX is registered, but if I run the same project with a side by side manifest it results in an error.
I can use the Control with no problem as long as it's…

Mehran
- 1,977
- 1
- 18
- 33
4
votes
1 answer
Does .net calling COM which in turn calls other .net COM object works when using SxS and manifest files are used
I have a .net application calling to a COM component (C++) which in turn calls to another COM object implemented in .NET.
This application is using Windows SxS capabilities and does not register any of it's COM components. Not the one written in…

Alex Shnayder
- 1,362
- 1
- 13
- 24
4
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
- 343
- 3
- 13
3
votes
1 answer
pinvoke fails because of DLLs dependent on other SXS-DLLs
Problem in short: How to call a function from DLL A.dll using p/invoke when A.dll depends on another SXS-lib (in my case MSVCR90.DLL)?
I'd like to call a function within a DLL using pinvoke. pinvoke itself works fine for other libs. Calling the…

user1034081
- 618
- 5
- 21
3
votes
3 answers
How to require x86 up the .NET dependency chain when building
We have several projects that use p4.net, a managed DLL, which in turn is dependent on p4dn.dll, a 32-bit unmanaged DLL. This has problems on x64 systems, so I have had to go to each project that uses p4.net and set its processor type to x86.
If I…

scobi
- 14,252
- 13
- 80
- 114