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.
Questions tagged [out-of-process]
82 questions
1
vote
1 answer
C# ActiveX exe?
I need an out of process C# COM component to host a 32 bit VB6 COM object. I can't seem to figure out how to do this in C#. The closest analogue I can think of is an activex exe, but it doesn't appear that C# can do this. Due to client restrictions,…

Steve
- 11,763
- 15
- 70
- 103
1
vote
1 answer
Using 64-bit out of process COM DLL from 32-bit Windows Serivce
I followed the steps mentioned in the article,
https://www.codeproject.com/Tips/1199539/Using-64-bit-DLLs-in-32-bit-Processes-with-Out-of?msg=5709592#xx5709592xx
Created a 64 bit COM DLL (MyCOMdll.dll) and created a Class COMServer as below,…

srajeshnkl
- 883
- 3
- 16
- 49
1
vote
0 answers
How to ensure Excel will close when all outstanding references are gone
My application launches and automates Excel:
Guid CLSID_ExcelApplication = ClsidFromProgID("Excel.Application");
Application xl = CoCreateInstance(CLSID_ExcelApplication);
And now we're off to the races:
Workbook wb = xl.Workbooks.Add();
Worksheet…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
1
vote
1 answer
Can I create a COM server with just C# 4.0?
Possible Duplicate:
What do I need to do to implement an “out of proc” COM server in C#?
Hello,
I don't know much about COM or C++, so perhaps this is a silly question:
Without resorting C++/ATL wrapper program, can I make an out-of-process…

nonot1
- 2,788
- 4
- 25
- 41
1
vote
1 answer
Accessing 32-bit DLLs from 64-bit code
I need to migrate a 32bit dll in order to use it in a 64bit C# (and also C++) applications. The dll is write in unmanaged delphi code. I can't recompile the dll and the only way is to use the interprocess communication (IPC). I search for a long…

bob
- 21
- 1
- 5
1
vote
2 answers
How to Get a Registration-Free COM Object Proxy in a Out-of-Process Client
I don't know if there is an API that makes this possible or if I would have to roll my own. Here is what I'm trying to accomplish.
I have an application that connects to an NT service to start a session with another COM server.
Application, the…

Matthew
- 771
- 6
- 15
1
vote
0 answers
Using RegServer or something similar without admin rights
I have a a program which includes a managed c++ out of process com server. Right now during the install it's registered with the /RegServer flag. This all works fine in its current implementation.
What I would like to do is register this server in…

Jarrett Robertson
- 459
- 2
- 13
1
vote
1 answer
SLAB, out-of-process: I cannot view the events when running semantic logging as service
I can save the logged events in the database (with custom database sink) when running the semantic logging as console, but I cannot do the same when running as service. What could be wrong here?

Ovidiu Caba
- 31
- 1
- 5
1
vote
2 answers
SLAB, out-of-process: changing the signature of an event source method causes incorrect event logging
I implemented an event source class for logging events. After repeatedly changing the signature (parameters names and parameters types) of one method that logs events, the events are no longer correctly logged. For instance when an event is logged,…

Ovidiu Caba
- 31
- 1
- 5
1
vote
0 answers
Wrong marshaling
I developed an out-of-proc server and trying to marshal input params, but it fails.
My .idl file is:
[
uuid(6a4791c0-f69f-4d78-a591-f549c90c0620),
object,
oleautomation
]
interface IBrowserInterraction : IUnknown
{
HRESULT…

fryme
- 281
- 4
- 15
1
vote
0 answers
ATL COM out-of-proc server in existing exe
I already have an existing code of my application. And i want to create a COM server, which will work inside that process. And this application process will be like a COM server. It is possible to realize using ATL? Maybe someone knows examples of…

fryme
- 281
- 4
- 15
1
vote
1 answer
C++ COM out-of-proc marshalling data through proxy\stub
I'm trying to create out-of-proc com server in some exe file and a client, which will access to functions through proxy\stub mechanism.
I have my .idl file:
[
object,
uuid(eaa27f4f-ad6b-4a52-90f3-6028507751a1),
dual,
nonextensible,
…

fryme
- 281
- 4
- 15
1
vote
2 answers
Is there a way to decrease overhead associated with out-proc COM calls?
Our program consumes an out-proc COM server and makes thousands of calls on its interfaces. This takes very very long time - like a minute for about 50k calls. The COM component vendor says that the calls are very fast by themselves and that the…

sharptooth
- 167,383
- 100
- 513
- 979
1
vote
2 answers
Adding a COM interface to an existing application (EXE)
I intend to add a COM interface to an existing application (which, by the way, is written in C++ using Win32). I have some experience using COM objects, so I know the basic COM concepts of interfaces, etc., but this is the first time I'm actually…

Dabbler
- 9,733
- 5
- 41
- 64
1
vote
3 answers
Access to c# object in outproc COM server from other process on same machine
I am trying to access C# objects from another process than the one where they reside via COM. The C# objects are exposed to COM.
The problem is that when I call a method on those objects, the calls are executed loccally, not on the outproc COM…

mnrtyrpt123
- 143
- 2
- 10