TailBite 1.0 Preview, soon in PureProject and PureArea

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

@netmaestro : you are right, it is based on Tailbite 1.3 PR 1.8 (29. May 2006)
@srod the following issues are fixed :

- PureLibrary is missing ":System"
- Div64 would be renamed to a Library function (in my case pdf_Div64)
- Unicode switch added (/UCOD)
- Threadsafe switch added (/THRD)
- TailBite Installer Build.pb modified for PB4

Regards Klaus
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Nice work, thanks. :)
I may look like a mule, but I'm not a complete ass.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

@ABBKlaus,
I d/l the Ldb lib file from purearea tonight only to find it wasnt compatible with PB4, so I go through source & update to make work, then get PureLibrary is missing ":System" error when i run my old tailbite. 1 quick look here & you have already fixed that for me, so thank you very much :D
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

This appears to work pretty well. If anyone can get it working with PB 4's optional parameters we'll be just about there. Where's El_Choni gone? He hasn't abandoned this project, I don't think so anyway.
BERESHEIT
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Post by Falko »

>> Where's El_Choni gone?

He is not gone :roll:

I've write them to Tailbit and he wrote me:
PM from , El_Choni wrote:From: El_Choni
To: Falko
Posted: Fri Nov 10, 2006 20:35
Subject: Re: Problems with PB 4.01 and compiled TailBite Ver. 1.8 Quote message
Hi,

I haven't had time to fix TailBite lately. I can't tell you when I'll be able to do it. All I can tell you is that as soon as I find a couple of days, I'll do it.

Until then, sorry for the trouble: too much work! Sad

Regards,

_________________
El_Choni


Regards, Falko
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

For those who have tested this new version :
Is that ABBKlaus's Tailbite stable ?

For ABBKlaus :
- sorry fot this lack of trust in you but i am accustomed to El Choni
- do you continue to work on it ?
- If yes, on what are you working ?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Progi1984 wrote:For those who have tested this new version :
Is that ABBKlaus's Tailbite stable ?
It's as stable as El_Choni's last version (only a few changes, see the sources) : I could compile all my libs with El_Choni's version without any problem.
Progi1984 wrote:sorry fot this lack of trust
You have the sources, so there is no trust problem ... And on the other hand ABBKlaus is making great userlibs, so I think he knows what he is doing.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

thanks gnozal.
as fred said
Just try it :wink:
did i mention that i included the complete sources ? :arrow: http://www.purebasicpower.de/?download=src.pack
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Tailbite 1.3 PR 1.81 supports not the default values on a function.

The application wich use the userlib have to write all parameters.
-> The default parameters also!
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

IceSoft wrote:Tailbite 1.3 PR 1.81 supports not the default values on a function.

The application wich use the userlib have to write all parameters.
-> The default parameters also!
For default values, you have to use the 'old' Tailbite method and not the new 'PB4' method.
Tailbite help wrote:You can make your function accept variable arguments. To do so, you must include two or more ProcedureDLL's with the same name and an index number:

ProcedureDLL MyFunction(arg1, arg2)
result = Pow(arg1, arg2)
ProcedureReturn result
EndProcedure

ProcedureDLL MyFunction2(arg1, arg2, arg3)
result = Pow(arg1, arg2)/arg3
ProcedureReturn result
EndProcedure
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

But, this works only for one default parameter correct. For more, you have to correct the desc file!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

ts-soft wrote:But, this works only for one default parameter correct. For more, you have to correct the desc file!
In PureSMTP the function PureSMTP_SendMail() has 4 optional parameters and it works.

There is a little problem with the quick-help text though, which is PureSMTP_SendMail([ilTo.s, MailFrom.s, Subject.s, MsgBody.s [, Attachments.s [, UserName.s [, Password.s [, HeaderAddon.s]]]]) instead of PureSMTP_SendMail([MailTo.s, MailFrom.s, Subject.s, MsgBody.s [, Attachments.s [, UserName.s [, Password.s [, HeaderAddon.s]]]])
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

I correct the desc-file and recompile it with a batch :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Too many libs and updates, I forget to do it most of the time ... And it works anyway.

I guess someone will have to fix this bug.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

@ABBKlaus: have only just gotten around to using your modified version of Tailbite to create threadsafe/unicode libs. Works brilliantly, far easier than my old way of creating such libs.

Excellent job, well done and thanks. :)
I may look like a mule, but I'm not a complete ass.
Post Reply