Gnozal libraries for PB4.xx

Developed or developing a new product in PureBasic? Tell the world about it.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Hi Gnozal, just a little error I get with PureZIP: Unresolved extrenal _PB_StringBasePosition. It's a bug in the lib or in TailBite?
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I think its to do with threadsafe. ?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Inf0Byt3 wrote:Hi Gnozal, just a little error I get with PureZIP: Unresolved extrenal _PB_StringBasePosition. It's a bug in the lib or in TailBite?
Without source and project options, I don't know
DoubleDutch wrote:I think its to do with threadsafe
Could be
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Yes, I think that's the problem, because StringManager.lib includes that export, while StringManagerThread.lib doesn't. Hmm... I wonder if TailBite should process the _THREAD and _UNICODE functions in a separate .pb file... Dunno, would be too messy, you'd have to code _THREAD and _UNICODE functions in normal mode having in mind they're going to be threaded and/or unicoded... Just thinking loud.
El_Choni
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Don't know what to say about this... Maybe it's because of the threadsafe option. It was enabled. I'm not home now, but i'll get there in an hour or two and i'm gonna confirm you if it works without the threadsafe lib. Thanks for the quick answers.

[Edit]
You guys were right... That option was enabled. I disabled it and it works perfectly. Thank you.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
zapman*
Enthusiast
Enthusiast
Posts: 115
Joined: Wed Jun 02, 2004 10:17 pm
Location: New Caledonia (South Pacific)
Contact:

Post by zapman* »

I have also the _PB_stringbaseposition problem with one of my softwares. I can't switch the ThreadSafe Option Off because my software use three threads which need absolutely this option "On". :cry: :cry:

My soft was initially written with PB 3.94. I decided to adapt it to PB 4 to solve the thread problem. Bad luck about this problem. :cry:

The PureZIP_Archive_Create and the PureZIP_Archive_Close() functions have no problem.
I get the error message when I use the PureZIP_Archive_Compress, the PureZIP_ExtractFiles or the PureZIP_Archive_CompressMem functions
Don't try - DO it !
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Yea I was really hoping to solve my threadsafe problems with this version but it seems this error is a showstopper
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

dracflamloc wrote:Yea I was really hoping to solve my threadsafe problems with this version but it seems this error is a showstopper
The last PureZIP version should work with ThreadSafe enabled.
http://www.purebasic.fr/english/viewtop ... &start=120
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Oh I missed that post. THanks
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:
dracflamloc wrote:Yea I was really hoping to solve my threadsafe problems with this version but it seems this error is a showstopper
The last PureZIP version should work with ThreadSafe enabled.
http://www.purebasic.fr/english/viewtop ... &start=120
And the rest of your libs work now also with threadsave option?

I have also this probs but i use your Sort lib and color lib.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:And the rest of your libs work now also with threadsave option?
I have also this probs but i use your Sort lib and color lib.
At the moment, the libs with a threadsafe version are : PureZIP, PureCOLOR, PureLVSORT.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Konne
Enthusiast
Enthusiast
Posts: 434
Joined: Thu May 12, 2005 9:15 pm

Post by Konne »

So are u working on making the Resizelib threadsave?
Apart from that Mrs Lincoln, how was the show?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Konne wrote:So are u working on making the Resizelib threadsave?
If you need a threadsafe version for PureRESIZE, I will build it.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:
Konne wrote:So are u working on making the Resizelib threadsave?
If you need a threadsafe version for PureRESIZE, I will build it.
Oh yes please build a threadsafe lib, i want it allso :wink:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:
gnozal wrote:
Konne wrote:So are u working on making the Resizelib threadsave?
If you need a threadsafe version for PureRESIZE, I will build it.
Oh yes please build a threadsafe lib, i want it allso :wink:
Ok, will do.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply