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

How to dispatch messages for multiple dialogs in an ATL exe

Microsoft had a knowledge base article describing how to modify the message loop in at ATL .exe so that modeless dialogs can receive appropriate messages. I was wondering how to elegantly do this if you have potentially multiple modeless dialogs,…
0
votes
2 answers

App forces user back to login when apppool recycles

We have a private .net app that runs on IIS windows server 2016. We are using the sessionstate service Forms authentication with cookies When we recycle the apppool then any users are forced back to the login page. This is not the behaviour…
0
votes
0 answers

Is there a standard way of unit testing a Background Task in a UWP

I have a UWP application developed that has an out of process background task referenced and is timer triggered. I would like to know if there is a way to unit test the background task behavior.
0
votes
1 answer

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

Recently I have had this problem that comes up often but I don't understand the reason for it. With IIS I have my web site with my api and when I call them I get an answer but I added an application to my web site and this one sends me this…
0
votes
1 answer

Pass C++ callback function into COM out-of-process method

There is already answered question about passing C++ callback into in-process COM method. But the same technique doesn't work for out-of-process usage. I have a C# interface and it has a method which registers callback/delegate with two…
0
votes
1 answer

Hosting outofprocess 3.1 web app require Windows Server Hosting updated too?

I am trying to understand the difference between inProcess and outofprocess while trying to host a dot net core app on IIS. If I am hosting outofprocess, does it still require updated .net core server hosting, or installed at all?
Ratan
  • 813
  • 4
  • 11
  • 27
0
votes
1 answer

.NET Core 3.1 OutOfProcess and AspNetCoreModule: app hangs on loading

I'm developing a .NET Core 3.1 + Angular web application on Visual Studio 2019. I've created the project from the included VS template and till now all works fine. When I've tried to publish the web application on Plesk I've encountered the known…
0
votes
0 answers

NSSavePanel and NSOpenPanel does not work on Catalina 10.15 as its out of process like sandboxed app, Is there any way to fix this behavior?

On catalina using NSSavepanel constructor or static object gives error default 07:45:15.193902-0800 eclipse +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener…
0
votes
0 answers

UWP windows.preInstalledConfigTask running multiple times

I have created a uwp background task.This task suppose to run only once when app receive update. i have used below configuration in appmanifest file
Rajalbar
  • 49
  • 8
0
votes
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,…
Rajesh Subramanian
  • 829
  • 3
  • 11
  • 46
0
votes
1 answer

ANCM Out of Process in .Net Core 2.2 Web API Project --

My problem is as such - I have a .NET core webapi project [targeting 2.2]. Now while trying to run it, I get the following error as shown in the image - I consulted this link --> HTTP Error 500.30 - ANCM In-Process Start Failure …
0
votes
1 answer

Windows Service launching Out of Process COM server - CSIDL_APPDATA returning as different user path

I have a windows service written in C#. This service spawns a number of MTA threads. In each of those threads an out of process COM class is instantiated. I set the service to run as my current user (add the appropriate log in credentials). When the…
pstrjds
  • 15,103
  • 6
  • 48
  • 60
0
votes
1 answer

asp.net core out-of-process fails to start correctly

I'm attempting to us the RunFromPackage App Setting for an Azure Web Site. I'm using the following stack asp.net core (out-of-process) Targeting .Net Framework 4.7.2 and I can no longer get my web application to run correctly. when I hit the…
0
votes
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
  • 220,884
  • 228
  • 805
  • 1,125
0
votes
1 answer

No language switch ability for other-user-impersonated out-of-process executables?

The issue we are seeing isn't that unique, I hope. First, some background: We are running a few applications with Process.Start(startInfo) under a different user account (that has higher privileges) from a C# application (shell launcher of sorts)…
batta
  • 247
  • 1
  • 9