Bay Six Software Forum Index Bay Six Software
Beyond the Basics
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stack overflow on print

 
Post new topic   Reply to topic    Bay Six Software Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
RichardRussell
Full Member


Joined: 28 Jan 2012
Posts: 57
Location: Downham Market, UK

PostPosted: Feb 11th, 2012, 2:54pm    Post subject: Stack overflow on print Reply with quote

I apologize for asking this here, but I'm banned from all the more appropriate forums! In LB 4.04, if I attempt to print to a PDF Printer (doPDF v7, if it matters) I get a 'Runtime Error: stack overflow'. It happens whether I set that printer to be the default, or select it in a PRINTERDIALOG.

I've used the same PDF Printer from several other Windows applications (e.g. Notepad, Word, LBB) and it works fine. Is this a known issue? I couldn't find any reference to it on the Liberty BASIC Bug Tracker.

Richard.
Back to top
View user's profile Send private message Visit poster's website
STPendl
Full Member


Joined: 20 Aug 2007
Posts: 161
Location: Austria

PostPosted: Feb 11th, 2012, 3:38pm    Post subject: Re: Stack overflow on print Reply with quote

I don't think any problem with a PDF printer can be titled as known issue.

I personally have used quite a few without problems.

_________________
Stefan

Any code I post can be freely used, just give credit.
Back to top
View user's profile Send private message
RichardRussell
Full Member


Joined: 28 Jan 2012
Posts: 57
Location: Downham Market, UK

PostPosted: Feb 11th, 2012, 4:28pm    Post subject: Re: Stack overflow on print Reply with quote

STPendl wrote:
I don't think any problem with a PDF printer can be titled as known issue. I personally have used quite a few without problems.

I can't prove it's an LB problem, but the fact that the same PDF Printer works properly from every other application I've tried is highly suggestive that it is.

Conventionally in Windows the stack is allocated dynamically (by means of guard pages) so an 'overflow' is all but impossible. Perhaps LB allocates only a small stack which isn't enough for doPDF.

Richard.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Bay Six Software Forum Index -> General Discussions All times are GMT
Page 1 of 1
Jump to:  
Quick Reply
Username:
Message:
   Shortcut keys: Alt+Q to activate, Alt+P to preview, Alt+S to submit
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Lo-Fi Version
Powered by phpBB © 2001, 2005 phpBB Group