Compile error

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Prelude_Software
User
Posts: 4
Joined: Thu Dec 09, 2010 2:30 pm

Compile error

Post by Prelude_Software »

I changed an app from Image-Xchange to PDF-Tools and now get a compile error "Unknown Identifier: SW_NOVIEWER". What am I missing?
Eric Bucher
Prelude Software
www.PreludeSoftware.com
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6903
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada

Re: Compile error

Post by Paul - Tracker Supp »

HI Prelude_Software,

perhaps one of the dev team might be able to look at this and tell you what is happening but I suspect that a little more detail would help. Can you provide a code snippet from the part where the compile fails?

thanks
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Prelude_Software
User
Posts: 4
Joined: Thu Dec 09, 2010 2:30 pm

Re: Compile error

Post by Prelude_Software »

Here is one of the lines:

WriteDocument PROCEDURE(<STRING str>,SIGNED savemode=0,SIGNED viewmode=SW_NOVIEWER),LONG,PROC ! write document to file
Eric Bucher
Prelude Software
www.PreludeSoftware.com
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6903
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada

Re: Compile error

Post by Paul - Tracker Supp »

Thanks for that. The dev team are done for the day already so it may be Monday now before you get a reply. We will post here what we find and or if we need anything more from you to proceed.

hth
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Compile error

Post by Tracker Supp-Stefan »

Hello Prelude_Software,

Could you please let us know what is your programming environment? Are you a Clarion developer?
This is an important question as we will need to pass this case to the correct developer for an advise.

Best,
Stefan
Tracker
Prelude_Software
User
Posts: 4
Joined: Thu Dec 09, 2010 2:30 pm

Re: Compile error

Post by Prelude_Software »

Yes, sorry, this is Clarion v6 development environment.
Eric Bucher
Prelude Software
www.PreludeSoftware.com
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Compile error

Post by Tracker Supp-Stefan »

Thanks Prelude_Software,

Passing this to the correct developer. We will reply shortly!

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

Re: Compile error

Post by Tracker - Clarion Support »

Hi!

I see it - not sure why that would be missing. I'll have to check the class files and see what's what.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com
Prelude_Software
User
Posts: 4
Joined: Thu Dec 09, 2010 2:30 pm

Re: Compile error

Post by Prelude_Software »

Looks like this was my fault. I found where I commented out the definition of that equate. I think I did that when I was trying to get Image-Xchange and PDF-Tools in the same app. Sorry about that!
Eric Bucher
Prelude Software
www.PreludeSoftware.com
Tracker - Clarion Support
Site Admin
Posts: 64
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA

Re: Compile error

Post by Tracker - Clarion Support »

Hi!

Oh good! Not us then. Wish they were all like this. :)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com