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

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
MyTrial
Enthusiast
Enthusiast
Posts: 165
Joined: Thu Nov 30, 2006 11:47 am

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

Post 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
Last edited by MyTrial on Wed Mar 11, 2009 4:41 pm, edited 1 time in total.
MyTrial
Enthusiast
Enthusiast
Posts: 165
Joined: Thu Nov 30, 2006 11:47 am

Post by MyTrial »

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureZIP for PB 4.30 not threadsafe ?

Post 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) ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
MyTrial
Enthusiast
Enthusiast
Posts: 165
Joined: Thu Nov 30, 2006 11:47 am

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
MyTrial
Enthusiast
Enthusiast
Posts: 165
Joined: Thu Nov 30, 2006 11:47 am

Post 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
Post Reply