Tagged Questions

COM interop is the layer that allows .NET assemblies to communicate with standard COM objects and libraries by exposing it's own objects or wrapping external COM objects.

learn more… | top users | synonyms

1
vote
0answers
13 views

COM Object in WCF Service

My WCF Service, written in .NET 4.0, has a problem that the second, or any other call get stuck. The WCF Service does nothing else than calling a COM Object written in Delphi XE. The threading model ...
2
votes
0answers
17 views

x64 Word 2010 Add In registration using WiX

I' deploying a Word Add in using WiX, regarding x84 target Platforms (at least the Office installation has to be x86, never the less which OS Platform is used) everything is working well, my COM ...
5
votes
3answers
90 views

Weird warnings in VS

I have got lots of warnings like this one and I have not got a clue what they mean. Does anyone know what this is? "At least one of the arguments for 'IOleWindow.GetWindow' cannot be marshaled by ...
1
vote
0answers
22 views

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 ...
0
votes
2answers
28 views

Error when accessing a COM dll with Threading Model Apartment from Multithread Apartment

I have to communicate with a third party application and the only way to do so is by accessing the provided COM component. Because the interaction takes about 3 minutes it's mandatory that it takes ...
1
vote
1answer
67 views

TYPE_E_CANTLOADLIBRARY - COM interop via MTA thread

I have a simple x86-targeting .NET 3.5 console program that calls methods on COM objects in an ActiveX DLL via interop. In my registry, the ActiveX DLL has a ThreadingModel of Apartment. When the .NET ...
0
votes
1answer
19 views

New COM component in old codebase does not expose new properties

I'm answering this myself because I found no answers anywhere and this is my favorite online programming reference. Hope it helps someone else. I maintain a WinForms application that uses a third ...
4
votes
1answer
80 views

Can't set ADOX.Catalog.ActiveConnection to ADODB Connection coming from .NET

I've been tasked with the incremental porting of a legacy VB6 app (using MS Access as a database, don't ask) to .NET. This is going to be a long one, but I think it's better to give a bit of context. ...
3
votes
3answers
279 views

an unhandled win32 exception occurred in w3wp.exe

I get the following exception when trying to load an ASP.NET MVC website: Unhandled exception at 0x07070a91 in w3wp.exe: 0xC0000005: Access violation reading location 0x00000000. The Visual ...
3
votes
0answers
76 views

Memory leak with dynamic code in COM Interop

For compatibility reasons between out legacy ASP code and new ASP.NET code, we have a bunch of .NET COM object that expose some of our .NET utilities to the ASP. In some cases we need to work with ...
0
votes
1answer
63 views

C# .Net Wrapper for COM Dll

Our new applications 1) web application (MVC3) 2) Webservices needs to communicate via interops with our COM based Business Layer We are planning to create a wrapper for the business layer in ...
0
votes
1answer
38 views

How to avoid necessity of Admin. privileges for Visual Studio with IIS or COM Interop?

When Visual Studio is run without admin. privileges and I am registering .dll for COM interop the error message is: Cannot register assembly "myassembly.dll" - access denied. Please make sure ...
1
vote
2answers
46 views

Returning Multiple Results (UDT?) From An Interop Call - VB6 <--> VB.NET

I’d like an Interop user control (VB.NET) to return and to accept multiple values from a get/set call. I assumed a user defined type (UDT), would be the correct way but I keep getting a “Variable uses ...
0
votes
0answers
44 views

Interop.*.dll not included by setup project when deploying .NET executable with COM dependency

I have a .NET Windows Forms executable which depends on a Third-party COM OCX file. The COM DLL is part of an application which comes with its own installer. I created a VS2010 Setup Project and ...
0
votes
2answers
176 views

Calling a remote .NET DLL inside COM+ without the proxy installation

We have a three tier application entirely developed in .NET 4.0 (C#). As the enterprise application server we use COM+ 1.5 (I know it's a little bit legacy...). There are a server part and a client ...

1 2 3 4 5 49
15 30 50 per page