TailBite v1.4.11 and PureBasic 5.11 Windows x64

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

TailBite v1.4.11 and PureBasic 5.11 Windows x64

Post by User_Russian »

Why TailBite create executable EXE file instead of a library? :shock: :shock:

Code: Select all

ProcedureDLL MemLib_HeapCreate(flOptions.l, dwInitialSize.i, dwMaximumSize.i)
  
  ProcedureReturn $1234
  !public _Procedure0 as '_HeapCreate@12'
  !public __imp__HeapCreate
  !__imp__HeapCreate:
  !dd _Procedure0
EndProcedure
---------------------------
TailBite Error
---------------------------
PBCompiler: /COMMENTED /DEBUGGER /EXE "C:\Temp\Tmp\TBTemp\261CE4A212492943\PureBasic.exe"

******************************************
PureBasic 5.11 (Windows - x64)
******************************************
Compiling C:\Documents and Settings\Administrator\My Documents\2.pb
Loading external libraries...
Starting compilation...
8 lines processed.
Creating executable "C:\Temp\Tmp\TBTemp\261CE4A212492943\PureBasic.exe".
Error: Linker
POLINK: error: Relocation type ADDR32 is invalid without /LARGEADDRESSAWARE:NO, for symbol '.code'.
---------------------------
ОК
---------------------------
mpz
Enthusiast
Enthusiast
Posts: 494
Joined: Sat Oct 11, 2008 9:07 pm
Location: Germany, Berlin > member German forum

Re: TailBite v1.4.11 and PureBasic 5.11 Windows x64

Post by mpz »

Hi User_Russian,

i think your code is not working because it is a 32Bit code and not a x64 code. You can´t start this program in PB5.11x64 and PB5.31x64. All times the same error message "POLINK: error: Relocation type ADDR32 is invalid..." apears.
With PB5.11x86 and PB5.31x86 it work (and with Tailbite too) fine, see cretated lib for PB5.31x86.

http://www.flasharts.de/mpz/Tailbite/Me ... Create.zip

Tailbite can only compile and link working code...

Greetings Michael
Working on - MP3D Library - PB 5.73 version ready for download
Post Reply