Code PBLibs in PB

Developed or developing a new product in PureBasic? Tell the world about it.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

For the updater, it is totally useless, since the website is not working for everyone... You should get another website somewhere (there's some fine free hosting), it would be better.
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

seems that the case problem has returned :? , this crashes: proceduredll/endprocedure
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

The case problem was never gone. I just modified the code so it accepted ProcedureDLL with any case, and I just forgot about it, sorry. But it´s not TailBite´s fault. Save this code from the IDE and lowercase as in the code from a text editor:

Code: Select all

proceduredll Micajita(ba, be, bi)
  bo = ba*be*bi
  ProcedureReturn bo
endprocedure
Now type, from PureBasic\Compilers:

Code: Select all

pbcompiler thefile.pb
See? It also crashes. I guess you´re using an external editor? This hadn´t happened to you before?
El_Choni
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

Yes i'm using an external editor, not a big problem. maybe Fred could try to fix it. don't forget to say it somewhere in the docs, thanks.
scurrier
Enthusiast
Enthusiast
Posts: 169
Joined: Sat May 03, 2003 4:10 am

Post by scurrier »

is there a way to make this go in the purebasic tolls section i have downloaded the newversion several times and installed several time's and it still is not showing up in the PB tools pulldown menu. is there some file i am not running or can i do it manualy? by the way great tool i did get it to work 1 time manualy and then i reinstalled it and hasn't worked since
if someone could list a step by step install procedure maybe i'm a little slow and can't get it to install the correct way or could someon give a step by step on manuly configuring this through pb tools menu what the arg. are and so forth.


thanks
Sean

and thanks for this great tool!!!!!!
scurrier
Enthusiast
Enthusiast
Posts: 169
Joined: Sat May 03, 2003 4:10 am

Post by scurrier »

i don't seem to have the help file maybe i am missing other files also
anyone not have the CHM help file?



Sean
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

There wasn´t any help file until the very last release, which you can download and test. To make sure you´re using the latest version, in this case I recommend you to remove your previous TailBite installation (delete the TailBite folder, except for any library sources you keep there).

http://www.terra.es/personal5/temporald ... taller.exe

If you don´t have HTML Help Workshop installed (downloadable freely from microsoft), the help files will be installed in HTML format. But, to be honest, the current help files don´t include too much info (I started today with the help files).

If you don´t like the HTML help format, you can download the chm file from:

http://www.terra.es/personal5/temporald ... ilBite.chm

Please, tell me if you have any further problems with the installation or find any bugs.

Have a nice night (I still have to work for more 3 hours in the job that feeds me ;)
El_Choni
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

heya, El Choni.

Sounds like you've done something wonderous.

For the slower PBers ( okay, for me :P ) would you be kind enough to post a very brief overview here? What it does and how to use it?

Much appreciated. :)
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

I can´t do it right now, but I´ll do it tomorrow, promised. However, there are already some words in the Introduction of the help file which may give you a hint.

Cya,
El_Choni
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Thanks.
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Well, there´s not too much to tell, in fact. Most PureBasic commands are stored in PureLibraries (have a look at the PureLibraries folder). PureBasic includes a Library SDK, which allows the user to create custom commands in its own libraries, which should be stored in PureLibraries\UserLibraries. These libraries can be coded either in ASM or C.

With TailBite, you can create these libraries in PureBasic, using ProcedureDLL as library functions. PureBasic creates an ASM file of any pb source when called with the /COMMENTED option. TailBite processes this ASM file so it has a suitable format to build an UserLibrary, and then performs in a single step (from the user´s point of view) all the compilations necessary to create a PureLibrary using FAsm.exe, lcclib.exe and Library Maker.exe, all of which are included in PureBasic.

I might use these words in the help file... :lol:
El_Choni
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Those are good words .. :)

Read the help as well. This is a great idea!
User avatar
Ajm
Enthusiast
Enthusiast
Posts: 242
Joined: Fri Apr 25, 2003 9:27 pm
Location: Kent, UK

Post by Ajm »

Hi

I am having trouble installing Tailbite on NT4 SP6.
When the tailbite installer is run the first window shows the correct purebasic directory and then the tailbite directory under that.

When I select install I get the dialog saying TailBite has been sucessfully installed.

If I place a tick in the readme check box and press finish I get the following error.
Can't open the README file, the system cannot find the file specified. when I then select OK or if I don't tick either of the boxes, I get the error.

Installation failed: TailBite Manager.exe and TailBite.exe not available, the system cannot find the file specified.
Regards

Andy

Image
Registered PB & PureVision User
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Hi, Ajm

It probably has to do with NT, because I´m not able to test it there by now. But, to make sure, download the latest version and try again, please. If it happens again, I´ll see what I can do (maybe I remove that "compile at install time" and just include all the compiled exes, libs and help files).

To be honest, installing fails also sometimes here, mostly when I´m running several programs at the same time. So maybe trying again with no other programs opened solves the problem.

Regards,
El_Choni
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

I get invalid operand from the installer ?! Unable to install TB_Imageplugin helper library ...

I get this twice once for the image encoder and again for the decoder ?!

I removed the tailbite directory before installing ?

What else should I look for ?
Paid up PB User !
Post Reply