GFL SDK X64 Windows 7

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

StephSBS
Posts: 8
Joined: Mon Jan 24, 2011 3:45 pm

GFL SDK X64 Windows 7

Post 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?
User avatar
xnview
Author of XnView
Posts: 36389
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: GFL SDK X64 Windows 7

Post by xnview »

What value do you have in HKLM/Software/GPL Ghostscript/9.02??
Pierre.
StephSBS
Posts: 8
Joined: Mon Jan 24, 2011 3:45 pm

Re: GFL SDK X64 Windows 7

Post 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
User avatar
xnview
Author of XnView
Posts: 36389
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: GFL SDK X64 Windows 7

Post by xnview »

Ok, i"ve found the problem. Please send me your email by PM...
Pierre.
Guido
Posts: 2
Joined: Fri Nov 18, 2011 12:11 pm

Re: GFL SDK X64 Windows 7

Post by Guido »

What was the solution for this problem? I might be having the same problem.
StephSBS
Posts: 8
Joined: Mon Jan 24, 2011 3:45 pm

Re: GFL SDK X64 Windows 7

Post 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.