Questions tagged [out-of-process]

In Microsoft COM technologies, out-of-process refers to COM servers implemented in such a way that they reside outside the process(es) that use them.

82 questions
8
votes
1 answer

How to use an out-of-process COM server without its tlb file

It is about Window COM component. Server.exe: an 32bit out-of-process COM server CLSID_Application: The GUID of a COM object in Server.exe Client.exe: a 64bit client application which use Server.exe in a registry-free way. As we know, an exe can't…
Baiyan Huang
  • 6,463
  • 8
  • 45
  • 72
6
votes
1 answer

Does COM activation of LocalServer32 EXE from the same user account share an existing process or not?

I have a COM server LocalServer32 EXE started when a client application calls c_com_ptr::CreateInstance (using ATL wrappers.) On Windows 7, when a second client application running under the same user account also calls c_com_ptr::CreateInstance, a…
Jim Flood
  • 8,144
  • 3
  • 36
  • 48
6
votes
1 answer

COM out of process server starts multiple instances

How do you force a local COM server to run under a common account (local system would be good)? The RunAs documentation seems like its only for DCOM and doesnt work locally. The problem i face is that my CoCreateInstance is being called from…
user1371314
  • 762
  • 7
  • 24
5
votes
2 answers

Does marshaling a marshaled interface give me a marshaller to the proxy or the original interface?

Here is a concrete example: I create a IWeBrowser2 interface by calling wb.CoCreateInstance(CLSID_InternetExplorer, 0, CLSCTX_SERVER);. This gives me a marshaled interface from my process into whichever of the running iexplore.exe processes happens…
Fozi
  • 4,973
  • 1
  • 32
  • 56
4
votes
4 answers

WorkerConfig for runtime: dotnet-isolated not found

Created a .NET 6.0 Isolated Function (with HTTP Trigger) in Visual Studio 2022. But when running/debug this function locally, get following error: Microsoft.Azure.WebJobs.Script: WorkerConfig for runtime: dotnet-isolated not found. Value cannot be…
4
votes
4 answers

COM Interop, client not finding interface in Out-of-process COM

I'm using Microsoft's CSExeCOMServer as a base for setting up a Out-of-process COM server, but it's not working properly. The server is 64 bit, and the client is 32 bit. Here's the sample interface [Guid(XXCryptService.InterfaceId),…
Atle S
  • 259
  • 6
  • 13
4
votes
0 answers

Out-of-process loading an ActiveX control from C#

I have a C# app that loads a component (And associated helper functions) from a 32-bit COM (ActiveX) DLL. This all works beautifully but my processing is pretty memory heavy (Especially when running on multi procesor machines) so I'd like to be able…
Goz
  • 61,365
  • 24
  • 124
  • 204
3
votes
3 answers

.NET out-of-process COM objects sharing static instances in API calls

It's hard to explain our situaction. We have a 3-tier application. The engine is a DLL coded in C++, then we have a VB6 ActiveX EXE that access to the engine via API calls, and at the top level we have a Excel Addin (in C# using VSTO framework)…
Oriol Terradas
  • 1,788
  • 2
  • 19
  • 30
3
votes
3 answers

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

We have two project, one contains Web API built on .net core 2.2.6 and Angular 8 Single Page Application integrated in .net core 2.2.6. We have deployed both on IIS 7, Web API project is working fine but Angular 8 SPA is giving an error "HTTP Error…
Ashish Shende
  • 89
  • 1
  • 1
  • 6
3
votes
1 answer

Getting a 32-bit COM client to talk to a out-of-proc 64-bit server using Java/JaCoB

This question indicates that it is possible for a 32-bit COM client to talk to a 64-bit COM server (and vice-versa), provided the server is out-of-process. I'm trying to implement a client using the Java Com Bridge (JaCoB) library to talk to a…
Kevin K
  • 9,344
  • 3
  • 37
  • 62
3
votes
2 answers

Out-of-process COM server without a proxy/stub DLL?

I am learning how to implement an out-of-process COM server and came across this Code Project article, Building a LOCAL COM Server and Client: A Step by Step Example. I can build it, and it runs fine, but where is the proxy/stub DLL? All I can see…
Dabbler
  • 9,733
  • 5
  • 41
  • 64
3
votes
3 answers

Registry keys for out-of-process COM server

I'm in the process of implementing my first out-of-process COM server (my first COM server altogether, for that matter). I have followed the steps to write an IDL file, generate the code for the proxy/stub DLL, compile the DLL, and register it. When…
Dabbler
  • 9,733
  • 5
  • 41
  • 64
2
votes
1 answer

Out of process video player on mac (vlcj)

I've been using VLCJ to embed a number of media players in the same window - on Windows and Linux this works fine, because they can be out of process (which they need to be to be stable - in short because of native libraries underneath there's no…
Michael Berry
  • 70,193
  • 21
  • 157
  • 216
2
votes
1 answer

View Objects in Session of a Running ASP.NET Application

I am trying to move my app to out-of-proc session state and can't find which session object is failing to serialize - the YSOD stack trace is unrevealing. Is it possible to view the objects, or at least the types of objects, currently stored in…
Mark Richman
  • 28,948
  • 25
  • 99
  • 159
2
votes
2 answers

UWP in-process background task when app is closed

Does the in-process background task, defined via the OnBackgroundActivated method, run even if the main application is closed or suspended or must I implement an out-of-process background task? The documentation is not clear on this. Support your…
Igor Ševo
  • 5,459
  • 3
  • 35
  • 80
1
2 3 4 5 6