Template change required.

This Forum is for the use of Clarion For Windows - Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
Bradnams
User
Posts: 26
Joined: Fri Jan 21, 2005 2:30 am
Location: Australia
Contact:

Template change required.

Post by Bradnams » Mon Jul 05, 2010 5:07 am

Hi guys,

I've had to change the pxcdrv40.tpl for Clarion 7 it seems to not test for Clarion 7 .

around line 1222

#IF(%PXCDV4Gtspknl32Chk AND SUB(%CWVersion,1,1) <> '7')
#PROJECT('tspknl32.lib')
#ENDIF
#IF(%PXCDV4GRWSupport)
#CASE(SUB(%CWVersion,1,2))
#OF('50')
#PROJECT('c5prlibx.lib')
#OF('55')
#PROJECT('c55prlbx.lib')
#ELSE
#IF(SUB(%CWVersion,1,1)='6')
#PROJECT('c60prlbx.lib')
#ELSE
#ERROR('Cannot #PROJECT RE .lib')
#ENDIF
#ENDCASE
#ENDIF

change to

#IF(%PXCDV4Gtspknl32Chk AND SUB(%CWVersion,1,1) <> '7')
#PROJECT('tspknl32.lib')
#ENDIF
#IF(%PXCDV4GRWSupport)
#CASE(SUB(%CWVersion,1,2))
#OF('50')
#PROJECT('c5prlibx.lib')
#OF('55')
#PROJECT('c55prlbx.lib')
#ELSE
#IF(SUB(%CWVersion,1,1)='6')
#PROJECT('c60prlbx.lib')
#ELSIF(SUB(%CWVersion,1,1)='7')
#PROJECT('c70prlb.lib')
#ELSE
#ERROR('Cannot #PROJECT RE .lib')
#ENDIF
#ENDCASE
#ENDIF

Let me know if I missed something.

Regards,

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Template change required.

Post by Tracker - Clarion Support » Mon Jul 05, 2010 2:30 pm

Hi Brad!

If that's working for you, use it for now!

I need to check that section of template code out. I'll post a reply in this thread with modified template code after I determine what needs to be done.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Template change required.

Post by Tracker - Clarion Support » Tue Jul 06, 2010 6:11 pm

Hi!

Attached is the new pxcdrv40.tpl. It follows your code but adjusted to make it more expandable for new versions.
Attachments
pxcdrv40tpl.zip
pxcdrv40.tpl accessing RW Library for C7.
(31.42 KiB) Downloaded 232 times
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Bradnams
User
Posts: 26
Joined: Fri Jan 21, 2005 2:30 am
Location: Australia
Contact:

Re: Template change required.

Post by Bradnams » Tue Jul 06, 2010 11:14 pm

It works great thanks.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13428
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Template change required.

Post by Tracker Supp-Stefan » Wed Jul 07, 2010 12:57 pm

Our Pleasure Bradnams

Best,
Stefan

Post Reply

Return to “PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please”