Print Page | Close Window

Powerbasic10

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=3853
Printed Date: 19 Jan 21 at 4:27AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Powerbasic10
Posted By: paobe
Subject: Powerbasic10
Date Posted: 19 Oct 20 at 2:31AM
Using powerbasic10 with dll library. Making a call to DPLGetFormFieldTitle keeps crashing, any sample code with powerbasic10 calling functions that return WSTRING would be apppreciated.



Replies:
Posted By: Ingo
Date Posted: 19 Oct 20 at 9:18PM
Hi Paobe :)

i fear you'll won't find any pb-sources here in the samples section.
I think the prob depends on QuickPDF take and give strings in unicode format.
If pb aren't able to deal with unicode it won't work at all...

Cheers and welcome here,
Ingo


-------------
Cheers,
Ingo



Posted By: mLipok
Date Posted: 20 Oct 20 at 4:48PM
Maybe you can check this:
https://www.debenu.com/docs/pdf_library_reference/SetAnsiMode.php



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: paobe
Date Posted: 21 Oct 20 at 12:20PM
PB does support Unicode (i.e WSTRING), I even tried  versions of functions that support non-unicode with the same failure, see below declares:
 
DECLARE FUNCTION DPLGetFormFieldTitle LIB "DebenuPDFLibraryDLL1811.dll" ALIAS "DPLGetFormFieldTitle" ( _
  BYVAL iInstanceID AS LONG, BYVAL iIndex AS LONG) AS WSTRING
DECLARE FUNCTION DPLGetFormFieldTitle LIB "DebenuPDFLibraryDLL1811.dll" ALIAS "DPLGetFormFieldTitleA" ( _
  BYVAL iInstanceID AS LONG, BYVAL iIndex AS LONG) AS string   
 



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