Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3419

Re: GhostscriptSharp is not working in dotnet core application

From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: GhostscriptSharp is not working in dotnet core application
Date 2019-07-18 08:01 +0100
Message-ID <MPG.379a29775a8562f09898a2@usenet.plus.net> (permalink)
References <c6a370fb-f781-46bf-ac22-1a81e2241b60@googlegroups.com>

Show all headers | View raw


In article <c6a370fb-f781-46bf-ac22-1a81e2241b60@googlegroups.com>, 
mahendra2010mca@gmail.com says...
> 
> Hi , 
>  
> GhostscriptSharp package installed from nuget package manager in dotnetcore 2.1.0 project in VS 2017.
>  
> While converting Pdf to Image , getting gsdll32.dll missing.
>  
> Unable to load DLL 'gsdll32.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
>  
> Copied  'gsdll32.dll'into this path ?C:\Windows\System32\? , but still getting the below error message.
>  
> An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
>  
> Could you please help us on this issue

Sounds to me like you are trying to use a 32-bit library in a 64-bit 
setup. A quick Google turned up:

https://stackoverflow.com/questions/35131158/teamcity-ghostscriptsharp-
an-attempt-was-made-to-load-a-program-with-an-incorr

And:

https://github.com/mephraim/ghostscriptsharp/issues/18

The latter (from the GhostscriptSharp Github repository) suggests that 
GhostscriptSharp loads a specifically named library without detecting 
whether its running in a 32 or 64-bit environment, and it is loading the 
specific 32-bit library even when its a 64-bit build.

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar


Thread

GhostscriptSharp is not working in dotnet core application mahendra2010mca@gmail.com - 2019-07-17 09:56 -0700
  Re: GhostscriptSharp is not working in dotnet core application ken <ken@spamcop.net> - 2019-07-18 08:01 +0100

csiph-web