Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > General Discussion
  New Posts New Posts RSS Feed - Convert a few functions to RealBasic
  FAQ FAQ  Forum Search   Register Register  Login Login

Convert a few functions to RealBasic

 Post Reply Post Reply
Author
Message
brandon View Drop Down
Beginner
Beginner


Joined: 16 May 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote brandon Quote  Post ReplyReply Direct Link To This Post Topic: Convert a few functions to RealBasic
    Posted: 01 Jun 07 at 2:12PM
My primary development platform is RealBasic. If you have never looked at it you should. It is fully oop and can compile Windows, Mac and Linux applications. The beauty of RealBasic (rb) is that it compiles single file executables with no external run-times libraries. Just a single exe file.

Right now I am able to use QuickPDF with declares within my rb app. Since QP is a windows dll, I have to distribute it along with my exe and I cannot compile a Mac or Linux version of my app.

I have never seen the ISEDQuickPDF code so I really do not know how much work it would be.  How much code would need to be converted to support some of the basic functions of QP?

What if we needed just...
LoadFromFile
CapturePage
DrawPage

Is the code segmented so that only parts could be converted?

As another option, would anyone be interested in using http://www.freepascal.org/ to compile a Mac dylib? (similar to windows dll). I have read one user who has successfully compiled a TurboPascal source to a Mac dylib. I just dont have the source. Wink

Thanks,

Brandon
Back to Top
chicks View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote chicks Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 07 at 3:04PM
A quick grep of the source files reveals well over 200 references to GDI, which is Microsoft's graphics lib. Had the original developers used OpenGL or something else portable, what you're asking might be possible, but I doubt that this code can be made portable without a boatload of work. There are also a couple of "uses ActiveX" lines, which mean a lot more non-portable code.


Back to Top
brandon View Drop Down
Beginner
Beginner


Joined: 16 May 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote brandon Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 07 at 4:20PM
Thanks Chicks...that is exactly what I needed to know.  Too bad. I guess I'll have to learn Coregraphics on the Mac.

Brandon
Back to Top
chicks View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote chicks Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 07 at 4:35PM
There are a couple of open-source, portable options:

libharu, which is very easy to use, but only supports PDF creation

PoDoFo, which is very complete, but low level. Supports PDF reading and writing.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store