Page 1 of 1

GFL SDK X64 Windows 7

Posted: Fri Oct 07, 2011 9:42 am
by StephSBS
Hi,
I use GFL SDK 3.40 and I compiled for X64 plateform, compliation is ok.
But when I try to get file information (GFLC_FILE_INFORMATION) for pdf (

Code: Select all

info.getFromFile(DIR"test_pdf.pdf");
), this method returns the error code 6 and on the console it was written:
GSCheck C:\Program Files\gs\gs9.04\bin\gsdll32.dll C:\Program Files\gs\gs9.04\bin

But I'm on x64 platform and the dll is gsdll64.dll for the path C:\Program Files\gs\gs9.04\bin
When I compilate for x32 the path and the name of the dll are good.

Is it possible to set the name of the Ghostscript ddl or is it a bug?

Re: GFL SDK X64 Windows 7

Posted: Fri Oct 07, 2011 12:33 pm
by xnview
What value do you have in HKLM/Software/GPL Ghostscript/9.02??

Re: GFL SDK X64 Windows 7

Posted: Fri Oct 07, 2011 5:53 pm
by StephSBS
In my HKLM/Software/GPL Ghostscript/9.04 I have these values:
GS_DLL REG_SZ C:\Program Files\gs\gs9.04\bin\gsdll64.dll
GS_LIB REG_SZ C:\Program Files\gs\gs9.04\bin;C:\Program Files\gs\gs9.04\lib;C:\Program Files\gs\gs9.04\fonts

Re: GFL SDK X64 Windows 7

Posted: Mon Oct 10, 2011 9:20 am
by xnview
Ok, i"ve found the problem. Please send me your email by PM...

Re: GFL SDK X64 Windows 7

Posted: Fri Nov 18, 2011 2:10 pm
by Guido
What was the solution for this problem? I might be having the same problem.

Re: GFL SDK X64 Windows 7

Posted: Fri Nov 18, 2011 3:47 pm
by StephSBS
Hi Guido,
a new version may be available in november.

For the moment copy the 64 bit dll and remane it with the 32 bit dll name.
I.E: C:\Program Files\gs\gs9.04\bin\gsdll64.dll =>C:\Program Files\gs\gs9.04\bin\gsdll32.dll

it work for me.

Best regards.