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 »

Well, you can let it like it is now, If we really want to modify it, we just have to go into library sources and modify it by ourselves :)

Anyway, you say that array won't works, but will it work one day ? I would be interested if you can allow the Dim arrays ;)
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

To be honest, the beta version is quite complete; it only lacks array handling, and variable argument/CPU specialized*/debug functions, which is somewhat buggy yet. And: a help file, helper libs to allow using TailBite for plugins and good samples.

Yes, it'll support arrays, it's very easy to fix that but I just can't do it until 4 or 5 January, sorry.

And anything reasonable you suggest. I won't work in TailBite until 4 or 5 January, when I'm back home.

*Yes, it would be absurd to use TailBite for this task, I just want to give that possibility.
El_Choni
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

ok, I can't wait for array supports :)
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Hi El_Choni,

Thanks for your tool. :wink:
I have a suggestion (i think it's not your priority).

It will be good if your tool accepts dropped files (folder ?), pb file to do a lib from it and desc to do the lib from asm files.

Denis
A+
Denis
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I don't know if I understand you, Denis, but the ASM sources can be available, you just ave to check the option "Keep Sources files" in the Tailbite Manager.
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Hi Polo,

what i want to say is:

from explorer you select a pb file and drag and drop it onto the TailBite.exe or onto the TailBite manager window, then the lib will be directly done with default parameters.

The same for asm file, it this case i was thinking for personal asm files, but there are no differences between own asm files or TailBite asm created files to do the lib.

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

Post by El_Choni »

The drag'n'drop thing is a good suggestion. In the TB Manager, i'll make it put the dropped file in the below string gadget (so you do what you want with it).

Compiling from a desc file is already implemented, provided that you use the folder structure used by TailBite (I know, it's not documented, remember there is a help file missing ;)). Dropping a pb or desc file in TailBite should already work (pb or desc file is the first parameter), but I haven't tested it (I must make it use the default params yet, though).
El_Choni
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

El_Choni,

i just try with the manager, not with TB.
I'll try soon with TB.

Tks

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

Post by El_Choni »

The same for asm file, it this case i was thinking for personal asm files, but there are no differences between own asm files or TailBite asm created files to do the lib.
I can't do this. I need a desc file or pb source to know what to do with the asm file. Or maybe I don't understand what you mean.
El_Choni
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

I use this way with my tool to done the lib from my own asm files.

I drag'n drop my desc file on my window and my tool process all the asm files, and create the .Lib and then create the lib itself.

My asm files and the desc file are in the same folder.


Denis
A+
Denis
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

None of the examples work under WIN2k !!!

I've build all examples, they are in the right directories but Purebasic does not load them has internal functions!!!

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

Post by El_Choni »

Hmmm... I see there are still problems with Windows 2000 for some reason. Anybody else has tested TB with Win2000?

BTW, there's only one example included. Could you test with this and see if it works?:

Code: Select all

ProcedureDLL MyBox(message$)
  MessageRequester("MyBox", message$)
EndProcedure
Remember to relaunch PureBasic after making the library. And don't give your PB file the same name as an existing UserLbrary (the previous will be erased). Thanks and regards,
El_Choni
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

LOL!

It works!!! By George it works!!!

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

Post by El_Choni »

The example included is the one I was using for debugging, most probably won't compile ok. I suggest you use your own code, you see how it works, it's easy.
El_Choni
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

@El_Choni
just testing your LIB tool and for now (after making some small test libs) it works fine. 8)

Bye
Franco
Post Reply