Print Page | Close Window

Absense of XXXtoStream methods in "DLL" version

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2162
Printed Date: 17 May 24 at 8:24AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Absense of XXXtoStream methods in "DLL" version
Posted By: toran
Subject: Absense of XXXtoStream methods in "DLL" version
Date Posted: 20 Feb 12 at 1:50PM
I am porting existing code from another PDF library to QuickPDF. This "another" library works perfectly for me, it is pure licensing costs vs volume of usage that I do that forced me to consider porting.
On the first glance QuickPDF supports all PDF-related functionality that I needed so I chose it as target for porting my code. However, I soon found out that some major methods that are available in one edition of QuickPDF are not available in another. I am talking about the absense of LoadFileFromStream, AddImageFromStream and probably some others that are available in Dephi edition and not in DLL edition. Looks like "Streams" are mostly available for Dephi code. This is a major stop for me, because at the layer where my code is operated, only streams are avaiable. Of course I can save it to temp files etc, but it would be really nice if QuickPDF will stop discriminating one edition against another, or at least publish the methods in the "smallest" version, or publish methods completely separated by edition.
 
Are there any immediate plans to update the library with missing xxxToStream method for DLL edition?
 



Replies:
Posted By: Ingo
Date Posted: 20 Feb 12 at 3:40PM
Hi Toran!
 
This is a user-user-forum here ;-)
If you need some changes for future versions of the library
you should post it in the official support-pages:
http://www.quickpdflibrary.com/support/support-query.php - http://www.quickpdflibrary.com/support/support-query.php
 
Cheers and welcome here,
Ingo
 


Posted By: samb
Date Posted: 22 Feb 12 at 4:47PM
Unfortunately, I don't think it's about discrimination rather than the limitations of the different methods.  In a DLL library your argument and return data types are limited to those that can be processed by all other programming languages.

Not sure what environment you are using, but try the xxxFromString methods.

At least in the C# wrapper, those methods actually take/receive byte arrays rather than actual strings.  The byte array can then be loaded into a stream if needed.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk