-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GhostscriptAPICallException: An error occured when call to 'gsapi_new_instance' is made: -100 #10
Comments
I have the same error, when I call StartProcessing. |
Fixed the issue by changing |
I'm sorry for my question |
Error -100 means that you are passing some bad parameters or you can try mehdymohajery solutoin. |
I also got this error and It really wasn't because of bad arguments. |
As per discussed here ArtifexSoftware/Ghostscript.NET#10
@mehdymohajery what is this lastInstalledVersion? Where/how do I get it? |
@csharpner this worked for me:
|
* Use in memory version As per discussed here ArtifexSoftware/Ghostscript.NET#10 * update last open to use in memory version
Same issue, Solution of @mehdyh doesn't work. I try to setup dll manually but it doesn't work again
|
@Amonra69 - I finally figured out that I need to roll back to GS 9.26 before the .NET wrapper works correctly |
you save my time |
note: Trying to use Ghostscript.NET out of the box with the following |
I occasionally get this exception, any idea about the root cause?
GhostscriptAPICallException: An error occured when call to 'gsapi_new_instance' is made: -100,
stack trace:
Ghostscript.NET.Interpreter.GhostscriptInterpreter.Initialize():47
Ghostscript.NET.Interpreter.GhostscriptInterpreter..ctor(GhostscriptVersionInfo version, Boolean fromMemory):55
Ghostscript.NET.Viewer.GhostscriptViewer.Open(String path, GhostscriptVersionInfo versionInfo, Boolean dllFromMemory):47
Ghostscript.NET.Viewer.GhostscriptViewer.Open(Stream stream, GhostscriptVersionInfo versionInfo, Boolean dllFromMemory):47
Ghostscript.NET.Rasterizer.GhostscriptRasterizer.Open(Stream stream, GhostscriptVersionInfo versionInfo, Boolean dllFromMemory):36
The text was updated successfully, but these errors were encountered: