[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Quartam Software Forums •Adding lib as sub stack of main stack for revlet
Page 1 of 1

Adding lib as sub stack of main stack for revlet

Posted: Wed Aug 03, 2011 10:33 pm
by jharris
Hello,

I am trying to use Quartam PDF Library with a revlet. I have been trying to add the library as a sub stack of my main stack, but it always fails.

The way I have been doing it:

1. Open my main stack.
2. Open the qrtpdflib.
3. Open the qrtpdflib properties.
4. For "Main stack" select my main stack in the drop down.

If I close LiveCode and open the main stack again... open the application browser...
qrtpdflib is gone.

Is this the correct procedure or could you offer some advice on adding it as a sub stack?

I am sure I am doing something wrong, but can't figure it out.

Thanks,
JHarris

Re: Adding lib as sub stack of main stack for revlet

Posted: Thu Aug 04, 2011 5:20 am
by JanSchenkel
You can't make mainstack A the substack of another mainstack B, if mainstack A itself still has some substacks of its own. You'll first have to spin off the two substacks 'qrtPDFDemos' and 'qrtPDFHelp' as mainstacks of their own, and then you can add 'qrtPDFlib' as substack to the stack from which you'll build the revlet.

Just one of those quirks of the LiveCode IDE that this fails silently.

Cheers,

Jan Schenkel.

Re: Adding lib as sub stack of main stack for revlet

Posted: Thu Aug 04, 2011 11:32 am
by jharris
Hmm... I doubt I would have figured that out, at least not any time soon.
Thanks so much for the help Jan! I will give that a try.

Regards,
JHarris