Page 32 of 40

Posted: Fri Dec 01, 2006 5:46 pm
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

Posted: Fri Dec 01, 2006 5:56 pm
by srod
Nice work, thanks. :)

Posted: Mon Dec 04, 2006 2:06 pm
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

Posted: Sun Dec 10, 2006 6:53 am
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.

Posted: Wed Dec 13, 2006 9:52 pm
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

Posted: Thu Dec 14, 2006 4:22 pm
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 ?

Posted: Thu Dec 14, 2006 4:52 pm
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.

Posted: Thu Dec 14, 2006 8:18 pm
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

Posted: Sat Jan 06, 2007 10:26 am
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!

Posted: Sat Jan 06, 2007 11:00 am
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

Posted: Sat Jan 06, 2007 11:42 am
by ts-soft
But, this works only for one default parameter correct. For more, you have to correct the desc file!

Posted: Sat Jan 06, 2007 11:48 am
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]]]])

Posted: Sat Jan 06, 2007 12:09 pm
by ts-soft
I correct the desc-file and recompile it with a batch :wink:

Posted: Sat Jan 06, 2007 12:15 pm
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.

Posted: Fri Jan 12, 2007 12:31 pm
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. :)