Questions tagged [dllhost]
11 questions
5
votes
1 answer
Open modem configuration dialog from windows (C#)
is there any opportunity to open the modem dialog from the windows control center by using a c# program?
The concrete dialog is:
Windows -> Control center -> Telephone and modem -> tab advanced -> select provider -> button configuration
The process…

Bine
- 51
- 2
3
votes
1 answer
How to launch COM server in separate dllhost process?
My COM component implemented as surrogated dll. I create one by calling CoCreateInstanceEx(), but it started in shared dllhost.exe process. Is there a way to launch my COM component in separate dllhost process?

lambdas
- 3,990
- 2
- 29
- 54
3
votes
1 answer
c# Remote ServerManager & COM Surrogate footprint
I have the following method which presents IIS worker requests on a pretty webpage however every time the page is refreshed it increases the memory consumption of dllhost (COM Surrogate) on the target machine until there is no more memory…

user3057886
- 31
- 4
2
votes
0 answers
.NET Core: Event handling at calling a third party 32-bit dll from a 64-bit c#
I'm going to migrate a .NET Framework 4.* application to .NET 6.
Main application is compiled as 64bit and I need to use a 32bit (.NET 6) dll hosted as out-of-process in Windows system surrogate (dllhost) that interact with x86 third party driver.
I…

ale91
- 316
- 3
- 8
1
vote
1 answer
Dispose of COM Objects in Powershell Script
I have a scheduled task that runs a Powershell script. This Powershell script sends a HTTP request and searches through the returned HTML. As a result of this script, I am left with a bunch of dllhost processes that don't close. If I understand…

techguy1029
- 743
- 10
- 29
1
vote
0 answers
How do I open an image and then close it automatically in PowerShell?
I want to open an image in Windows Photo Viewer and then close it automatically using PowerShell. How would I achieve this?
I tried using the Start-Process cmdlet to open an image with the default application and have it return the associated…

Magnus
- 589
- 8
- 26
0
votes
0 answers
How to access dll server object remotely without modifying registry on remote computer?
I have a dll server that I want to be able to call remotely. Everything works fine when I use Activator.CreateInstance on the local machine. Is there a parameter I can pass into Activator.CreateInstance to avoid modifying the registry on remote…

hockey2000
- 1
- 2
0
votes
1 answer
DllHost.exe memory leak when getting PrintTicket
I have a x86 application working on windows10 (64 bit environment).
One pf the app's features is to generate a lot of reports, so there is a lot of printing involved.
However, I noticed that every time I try to use call DefaultPrintTicket on the…

Yamamotooko
- 96
- 1
- 8
0
votes
1 answer
How to kill a Shell executed process in c#
I want to display a tiff file using shell execute. I am assuming the default app is the photoviewer. My Problem is that when i want to kill the process with photoviewer.Kill() i get an System.InvalidOperationException. When setting a breakpoint…

Little-God
- 183
- 1
- 3
- 16
0
votes
2 answers
COM exception on "custom component" - how to identify DLL?
We have a large legacy VB app made up of a number of DLLs (a couple of dozen or so), all installed into a single COM+ Server Application. Every now and then, something happens that causes dllhost.exe to keel over (and automatically restart), leaving…

Chris J
- 30,688
- 6
- 69
- 111
0
votes
1 answer
Could not find endpoint element in .Config File
Good day to all,
We've encountered some configuration problem while retrieving an end point from configuration file at creating a ChannelFactory object.
Could not find endpoint element with name 'no matter service'
and contract 'no matter…

mikabuka
- 237
- 3
- 11