Page 1 of 1

PureZIP for PB 4.30 not threadsafe ? [it is threadsafe]

Posted: Wed Mar 11, 2009 12:24 pm
by MyTrial
Hi gnozal

thanks for your great PureZIP.

I wanted to use PureZIP for PB 4.3, but get the known errors by compiling threadsafe. Is it my opinion or is PureZIP for PB 4.30 not threadsafe?

Sigi

Posted: Wed Mar 11, 2009 12:40 pm
by MyTrial

Re: PureZIP for PB 4.30 not threadsafe ?

Posted: Wed Mar 11, 2009 2:51 pm
by gnozal
MyTrial wrote:I wanted to use PureZIP for PB 4.3, but get the known errors by compiling threadsafe. Is it my opinion or is PureZIP for PB 4.30 not threadsafe?
Assuming you are using the PB IDE, did you enable the 'UserLibThreadSafe' subsystem (see PureZIP.chm) ?

Posted: Wed Mar 11, 2009 4:24 pm
by MyTrial
Thanks for your answer, gnozal.

... you have to enable the subsystem 'UserLibThreadSafe'
in the PB IDE ...

I do not found some switch to do that in the ide. Can you explain where I should find that?

... add '/SUBSYSTEM UserLibThreadSafe' to the PBCompiler arguments ...

Hmmm, I have no compiler arguments (or tomatoes on my eyes). I tested in "Compiler Options" under "Executable Commandline" but that didn't work.

I think I need a little help to find what you explained to do. Thanks.

Sigi

Posted: Wed Mar 11, 2009 4:28 pm
by gnozal
MyTrial wrote:I do not found some switch to do that in the ide. Can you explain where I should find that?
It's not a switch : you have to enter the subsystem name in a stringgadget.

PB IDE Menu -> Compiler -> Compiler Options -> Library Subsystem : enter 'UserLibThreadSafe' (without the quotes).

http://www.purearea.net/pb/english/manu ... piler.html

Posted: Wed Mar 11, 2009 4:41 pm
by MyTrial
Hi gnozal

I had read' that part of the "Library Subsystem" in the IDE help, but never thaught of a relation to your informations. Sorry.

When I put "UserLibThreadSafe" in the "Library SubSystem" compiling works fine. Many thanks, gnozal, and sorry that I bothered you.

Sigi