I am trying to load DLL in window service, I am getting below exception and my window service was crashed. Can anyone have any idea about this?


Faulting application name: Demo_38.exe, version:, time stamp: 0x60791ff8
Faulting module name: CleanContentAPI.dll, version:, time stamp: 0x56e6d88b
Exception code: 0xc0000005
Fault offset: 0x0000000000043858
Faulting process id: 0x125c
Faulting application start time: 0x01d732a04ae44470
Faulting application path:
E:\Share\Temp\Processing\ssdc\WorkerServices\Service\V.1.00\Demo_38.exe Faulting module path: E:\Share\temp\CleanContentSDK\Windows\x64\CleanContentAPI.dll
Report Id: 8b3e3668-9e93-11eb-8100-0050568c3b68 Faulting package full name: Faulting package-relative application ID:

I am loading it like below code and using it in Thread:

  public static extern IntPtr LoadLibrary(string dllPath);
asked on Stack Overflow Apr 30, 2021 by Parmjitsingh Sardar • edited Apr 30, 2021 by Parmjitsingh Sardar

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0