Page 1 of 1

[Done] Problem with Label's

Posted: Tue Feb 15, 2011 3:15 am
by CSHW89
Hi,

i have a small problem with labels. i want to create with this code an multi-userlib (is just an example)

Code: Select all

ProcedureDLL Proc()
  ;Goto TestLabel         ;works
  ;! JMP l_testlabel      ;works
  ;! JE l_testlabel       ;don't works
  a = ?TestLabel          ;don't works
  
  TestLabel:
EndProcedure
i get the following error:
FAsm: Proc_UNICODE.asm

Error
Line no: 24
Error code: -127
Error String: SYMBOL_ALREADY_DEFINED
it works, when i create a normal lib without /multi.
and it works with 'Goto' and '!JMP'

PureBasic: 4.51
TailBite: 1.4.6

thanks
lg kevin

Re: Problem with Label's

Posted: Tue Feb 15, 2011 11:46 am
by lexvictory
can you provide a commented asm output of those that don't work?
(with pbcompiler /commented)

Re: Problem with Label's

Posted: Tue Feb 15, 2011 1:16 pm
by CSHW89
Do you mean the asm files of tailbite? here (this is with "a = ?TestLabel"):

http://www.mevedia.de/cshw89/Tailbite.zip

I think, in the file "Function\Proc_UNICODE.asm" the line 6 is incorrect.

lg kevin

Re: Problem with Label's

Posted: Wed Feb 16, 2011 4:27 am
by lexvictory
ok, from that zip i can see what the problem is (TB is extrn'ing the label in the decorated files)
It may take a while to fix though, not sure when I'll have time

Re: Problem with Label's

Posted: Fri Feb 18, 2011 6:12 pm
by ABBKlaus
can you test with this version http://www.tailbite.com/downloads/TailBiteV1.4.7.zip

Please report back if it works, i can then upload the final build.

BR Klaus

Re: Problem with Label's

Posted: Sat Feb 19, 2011 10:21 pm
by CSHW89
Sorry, i had no time to test.
Wow it works. Thanks, thank you VERY much!
btw: the smiley is missing here from the German forum: Image

lg kevin

Re: [Done] Problem with Label's

Posted: Mon Feb 21, 2011 5:26 pm
by ABBKlaus
Thanks for testing, just uploaded the new version.

BR Klaus