Hey !
In my lib, I need to use some functions from a .lib file, I use ImportC to get the functions in a usual Purebasic program, though will this work if I compile my library with Tailbite ?
cheers,
polo
[DONE] Tailbite and Import
Moderators: gnozal, ABBKlaus, lexvictory
Libs in CDECL a included in UserLib, Libs in StdCall not, but you can put in
...\PureBasic\PureLibraries\Windows\Libraries\
greetings
Thomas
...\PureBasic\PureLibraries\Windows\Libraries\
greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
this is what i mean with cdecl
Use ImportC and Tailbite includes the static lib in the UserLib
Use ImportC and Tailbite includes the static lib in the UserLib
Code: Select all
ImportC "bla.lib"
test()
EndImport
ProcedureDLL MyTest()
ProcedureReturn test()
EndProcedure
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.