mephraim / ghostscriptsharp

A C# wrapper for the Ghostscript library (1.1)
MIT License
204 stars 101 forks source link

Build 32-bit local but deploy with 64-bit #12

Open RollingWave opened 10 years ago

RollingWave commented 10 years ago

There are two symptoms of what I believe is the same issue.

I've installed GhostScriptSharp using Nuget and I'm running it locally on a 32-bit machine in the Azure Development Fabric. Everything is working wonderfully.

When I deploy to Azure, which is 64-bit, I'm getting the following error message.

Unable to load DLL 'gsdll32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

There are two issues here as I can tell

I've posted the question to stackoverflow as well.

http://stackoverflow.com/questions/24519908/ghostscriptsharp-on-azure

Thanks in advance for the assistance

RollingWave commented 10 years ago

I've upgraded my machine to 64-bit to resolve this issue. Unfortunately, although the project is built targeting 64-bit, the system.intpr.size == 4 if statement continues to return true. Any suggestions would be appreciated.

thegrandpoobah commented 9 years ago

I know it has been a reallly long time since this issue was opened, but I believe I have fixed this issue in my branch: https://github.com/thegrandpoobah/ghostscriptsharp/tree/more64bits