Page 5 of 6
Posted: Tue Sep 16, 2008 1:01 am
by ABBKlaus
New Version is out :
[39] SEP 16th2008 TailBite v1.3 PR 1.877
- fixed LibraryMaker.exe not found error in PureBasic 4.30 Beta 1
- note : SearchDirectory moved from Inc_Tailbite.pb to Inc_Misc.pb
- note : SearchDirectory added parameter Mode=#PB_String_NoCase
See first post for more details.
Regards Klaus
Posted: Tue Sep 16, 2008 1:09 am
by ts-soft
You are fix
thanks
what is with .i and x64 support?
Posted: Thu Sep 25, 2008 12:16 am
by ABBKlaus
ts-soft wrote:what is with .i and x64 support?
currently i am testing with X64 support. (unofficial download is
here)
My testobject is PurePDF, it looks promising
But its crashing at pdf_Save in the "Tutorial01 Hello World.pb" example
Good night,
Klaus
Posted: Thu Sep 25, 2008 2:50 am
by ts-soft
You use one config for both tailbite, and i have 2 entries in both ide with the
same name (different shortcut)
Next problem (or the same), tailbite will use the x86 dir
Only way to test is to uninstall one of tailbite version, but i am lazy and
will wait for a update
greetings
thomas
Posted: Thu Sep 25, 2008 7:57 am
by ABBKlaus
TailBite does not support 2 running IDE´s. It tries to determine the current IDE (registry settings) and loads the prefs of this version.
The X64 config will be named TailBite_430_X64.prefs.
Regards Klaus
Posted: Thu Sep 25, 2008 1:40 pm
by ts-soft
> It tries to determine the current IDE (registry settings)
Okay, the registry is allways x86
Is there one tailbite version for both?
Posted: Thu Sep 25, 2008 9:26 pm
by ABBKlaus
ts-soft wrote:Is there one tailbite version for both?
Yes. You can copy TailBite into the PureBasic dir and a modified "TailBite.prefs" too. If TailBite is now started it loads the prefs from its current directory.
Hope that helps
Klaus
PS: Integer is currently not supported by LibraryMaker.exe and so is the /COMPRESSED flag

Posted: Thu Sep 25, 2008 9:49 pm
by ts-soft
> Yes. You can copy TailBite into the PureBasic dir and a modified "TailBite.prefs" too. If TailBite is now started it loads the prefs from its current directory.
good idea, i will test it

Posted: Thu Sep 25, 2008 9:49 pm
by freak
> PS: Integer is currently not supported by LibraryMaker.exe and so is the /COMPRESSED flag
Just continue using "Long" also for x64. Since the parameter types are promoted to register size anyway, it makes no difference.
The /COMPRESSED flag does not work on x64, thats true. Just remove it.
Posted: Thu Sep 25, 2008 9:57 pm
by ABBKlaus
freak wrote:Just continue using "Long" also for x64. Since the parameter types are promoted to register size anyway, it makes no difference.
The /COMPRESSED flag does not work on x64, thats true. Just remove it.
Thanks for the info freak. I will try that.
Posted: Fri Jan 23, 2009 7:23 pm
by ABBKlaus
New Version is out :
[41] DEC 9th 2008 TailBite V1.3 PR 1.879
- fixed RET X + 4 in X64 not needed
- fixed TailBite Warning: Unknown Windows API function (found by mistrel)
- fixed BuildApiList() was causing an invalid memory access error on Peeks()
- fixed FAsm error : reserved keyword used as symbol (found by lexvictory)
- fixed X64 FAsm error : invalid argument ... aligngosub (found by lexvictory)
- fixed tempdir was not cleaned while it was in use
- fixed symbol was removed when named the same as the procedure
- fixed do not extrn symbol that is already public
- fixed endfunctions for X64
See first post for more details.
Regards Klaus
Posted: Thu Feb 12, 2009 9:00 pm
by ABBKlaus
New Version is out :
[42] FEB 8th 2009 TailBite V1.3 PR 1.880
- fixed polib.exe not found if 'Don´t build library. only source files' was checked (found by lexvictory)
- fixed import libs where not written to objfiles.txt if 'Don´t build library. only source files' was checked (found by lexvictory)
- added /EXE option to stop pbcompiler running the exe after commented asm output 28.1.2009 2:55 (by lexvictory)
- added lexvictory´s multilib code that makes UNICODE/THREADSAFE/UNICODE+THREADSAFE in one library file
- fixed another extrn bug that has to be commented out (found by mback2k)
- fixed TBUpdater was broken
See first post for more details.
[Edit]The updater was broken. Users having an older version should not use the
Check for updates Button[/Edit]
Regards Klaus
Posted: Thu Feb 26, 2009 12:56 pm
by Maxus
Code: Select all
Interface HOME
RELEASE()
EndInterface
Structure H4743E164
VH654D4.L
HOME.L
EndStructure
ProcedureDLL CONSTRUCTOR_HOME()
*THIS.H4743E164=HeapAlloc_(GetProcessHeap_(),8,SizeOf(H4743E164))
*THIS\VH654D4=?HOME
ProcedureReturn *THIS
EndProcedure
Procedure HOME_RELEASE(*THIS.H4743E164)
HeapFree_(GetProcessHeap_(),0,*THIS)
EndProcedure
DataSection:
HOME:
Data.L @HOME_RELEASE()
EndDataSection
This code not compile.
Code: Select all
FAsm: meShared.asm
flat assembler version 1.67.26 (1158878 kilobytes memory)
Function\meShared.asm [47]:
dd me_HOME_RELEASE
Posted: Thu Feb 26, 2009 1:37 pm
by gnozal
Maxus wrote:This code not compile.
I did not try the code but maybe this works :
Code: Select all
Interface HOME
RELEASE()
EndInterface
Structure H4743E164
VH654D4.L
HOME.L
EndStructure
ProcedureDLL HOME_RELEASE(*THIS.H4743E164)
HeapFree_(GetProcessHeap_(),0,*THIS)
EndProcedure
ProcedureDLL CONSTRUCTOR_HOME()
*THIS.H4743E164=HeapAlloc_(GetProcessHeap_(),8,SizeOf(H4743E164))
*THIS\VH654D4=@HOME_RELEASE()
ProcedureReturn *THIS
EndProcedure
Posted: Thu Feb 26, 2009 6:37 pm
by ABBKlaus
@Maxus : its a missing Extrn in the asm output. I will se if i can fix it
For a workaround you can add the Extrn by hand :
Code: Select all
format MS COFF
macro pb_public symbol
{
public _#symbol
public symbol
_#symbol:
symbol:
}
Public me_PB_DataSection
Public me_s_s
Public me_PB_BSSSection
Public me_PB_DataPointer
Public me_l_home
Public me_PB_DataSectionStart
Public me_SYS_EndDataSection
Extrn me_HOME_RELEASE ; <- has to be added by hand !
section '.data' data readable writeable
macro pb_align Value { rb (Value-1) - ($-me_PB_DataSection + Value-1) mod Value }
me_PB_DataSection:
dd -1
dd 0
db 0
align 4
align 4
me_s_s:
dd 0
dd -1
align 4
section '.bss' readable writeable
macro pb_bssalign Value { rb (Value-1) - ($-me_PB_BSSSection + Value-1) mod Value }
me_PB_BSSSection:
align 4
me_PB_DataPointer rd 1
align 4
align 4
align 4
align 4
section '.data' data readable writeable
me_l_home:
me_PB_DataSectionStart:
dd me_HOME_RELEASE
me_SYS_EndDataSection: