TailBite 1.0 Preview, soon in PureProject and PureArea

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

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

Post by Polo »

El_Choni wrote:Polo:

There needs to be at least one ProcedureDLL for your code to be converted to a purelib, but there isn't any in your file. ProcedureDLLs get converted to PB functions. Simple procedures are just code used by those functions, and are discarded if no ProcedureDLL is found, so TailBite assumes that you're trying to build a resident file.
yep, but even with putting a ProcedureDLL (i have thousand of them in fact) in the file that includes the one i gave you, it still creates a resident file :)
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Send them to me, please ;)

EDIT: ok, you told me you couldn't. Well, let's hope the bug disappears by itself in following versions...
El_Choni
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Well, in fact, i've just tested this :

Code: Select all

ProcedureDLL test()
  
EndProcedure
I try to Tailbite it, it just make a resident...
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Thx, I'll check...
El_Choni
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I'm using JapBe, if it can help ?
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Same here with the orginal PB IDE.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Compiles here with the PB IDE and TailBite 1.3 PR 1.3 :?
El_Choni
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

I got an error with PR1.3

Code: Select all

ProcedureDLL.l test() 
  Static w.l = 1
   w+1
  ProcedureReturn w
EndProcedure
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Icesoft: fixed, thx.
El_Choni
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Sorry, but the problem is still there with 1.4 (with the file i've sent you as an included file).
however now a simple ProcedureDLL in an empty file compiles the lib.
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

But, Polo, in that include there are only Procedures, not ProcedureDLLs, so the lib won't be compiled. What would you expect it to do? Compile a lib with no functions? Sorry, I don't understand :oops:
El_Choni
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

El_Choni wrote:But, Polo, in that include there are only Procedures, not ProcedureDLLs, so the lib won't be compiled. What would you expect it to do? Compile a lib with no functions? Sorry, I don't understand :oops:
No, i meant that :

Code: Select all

IncludeFile "myfile.pbi"

ProcedureDLL test()

EndProcedure
THIS doesnt work :) It creates a resident, bu there is a procedureDLL in it :)
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Ok, this makes more sense :D I'll check it at home, thank you.
El_Choni
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

El_Choni wrote:Ok, this makes more sense :D I'll check it at home, thank you.
Cool, thanks a lot !
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@El_Choni:
i wrote you a PM with a bug report and now i found another bug with the lastest version. i did a small example of the latest bug i found:

Code: Select all

ProcedureDLL.s Test_ReturnString()       ; Trying to return a string...
   Protected info.s
   info.s = "Are you able to read this string when calling the command?"
   ProcedureReturn info.s
EndProcedure
returns only "???????????" ^^

however, if you use the command and compile to an exe... you can read the string with an hexed in the file ^^ Btw, when using this command, 1 k will be added to the exe. Is this due fact that PB will link _SYS_InitString to the exe too?
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply