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.

77 questions
2
votes
1 answer

How to tell if a local server process was launched by COM?

I have an application which supports out-of-process COM automation. Now, I want it to be able to behave differently when it is launched by user and when it is started by COM to serve an automation request. How can I distinguish these cases from…
vines
  • 4,959
  • 1
  • 24
  • 47
2
votes
0 answers

linked servers Access Denied error with an out-of-process OLEDB provider

I have an OLEDB for OLAP provider which I am trying to set up a linked server with. For some reason I cannot set the provider to run in-process (by checking the "Allow inprocess" option) as it uses some customized .NET assembly which SQL server…
2
votes
0 answers

What is WinRT remoting?

I'm reading about IPC in Windows Phone 8, and I come across Peter Torr's articles about Using named events to coordinate foreground apps and background agents. In the bottom of his article, he mentioned WinRT remoting as the advanced technique for…
2
votes
0 answers

64bit application + out of process 32bit modal dialog

We work on plugin extension (toolbar) for 3rd party application. New version of application is also 64bit - and here comes the problem. Our plugin is developed under VB6. In 32bit application works all fine. Manufacturer of an application delivers…
Ondrej
  • 1,094
  • 1
  • 10
  • 21
2
votes
1 answer

Vista and out-of-process COM server

I'm having a hell of a time trying to figure out user privilidges and security settings on Vista. The situation is this: I have a 32 bit C++ application that acts as an out-of-process (==standalone exe) COM server. I have several .Net, FoxPro, X++…
BuschnicK
  • 4,928
  • 6
  • 34
  • 47
2
votes
1 answer

COM Server: ESP not saved across a function call when calling interface method

I'm in the process of implementing a COM server in an EXE file. To be precise, I'm adding a COM interface to an existing application. with the ultimate goal of automating the application. The first component and an interface (with a single method so…
Dabbler
  • 9,241
  • 4
  • 37
  • 59
2
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,241
  • 4
  • 37
  • 59
1
vote
1 answer

Handling Windows shutdown with out of process ActiveX EXEs

We have an application that uses several out of process COM objects for various tasks. If the user tells Windows to shut down while our application is running, then it sends all applications (top level windows) a shutdown notification, but the OoP…
Deanna
  • 22,939
  • 7
  • 65
  • 142
1
vote
1 answer

WPF Desktop Bridge out-of-process background task cannot access Documents folder

I'm developing a WPF (Desktop Bridge) application that performs some logic on startup and in out-of-process background task. This logic creates and uses a file in the user's Documents folder. I've created out-of-process BG task in WPF (Desktop…
1
vote
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,251
  • 3
  • 27
  • 66
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,197
  • 13
  • 66
  • 98
1
vote
1 answer

Reg-free COM out of process EXE

I have several components (multiple .dlls, one .exe) which I need to use registration free. In my sxs manifest I've listed the dll files as;
1
vote
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
  • 69
  • 1
  • 6
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,628
  • 4
  • 23
  • 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