It is currently Sun Sep 22, 2019 1:20 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: TailBite v1.4.11 and PureBasic 5.11 Windows x64
PostPosted: Mon Dec 29, 2014 9:23 pm 
Offline
Addict
Addict

Joined: Wed Nov 12, 2008 5:01 pm
Posts: 1053
Location: Russia
Why TailBite create executable EXE file instead of a library? :shock: :shock:
Code:
ProcedureDLL MemLib_HeapCreate(flOptions.l, dwInitialSize.i, dwMaximumSize.i)
 
  ProcedureReturn $1234
  !public _Procedure0 as '_HeapCreate@12'
  !public __imp__HeapCreate
  !__imp__HeapCreate:
  !dd _Procedure0
EndProcedure
Quote:
---------------------------
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'.
---------------------------
ОК
---------------------------

_________________
Library XP_Menu_Lib - office menu; HID_Lib - USB Library
Torrent client - pbTorrent (source code); Create driver in PureBasic.


Top
 Profile  
Reply with quote  
 Post subject: Re: TailBite v1.4.11 and PureBasic 5.11 Windows x64
PostPosted: Sun Jan 18, 2015 9:30 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Oct 11, 2008 9:07 pm
Posts: 416
Location: Germany, Berlin > member German forum
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 -


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye