How to import a PB lib while using Tailbite?
Posted: Mon Dec 17, 2007 11:09 pm
I'm using a PB library imports in my project but I can't compile them to a tailbite library.
See this code, for example. It will not compile with Tailbite.
See this code, for example. It will not compile with Tailbite.
Code: Select all
Import "window.lib"
CompilerIf #PB_Compiler_Unicode
_PB_Window_ProcessEvent(a,b,c,d) As "_PB_Window_ProcessEvent_UNICODE@16"
CompilerElse
_PB_Window_ProcessEvent(a,b,c,d) As "_PB_Window_ProcessEvent@16"
CompilerEndIf
PB_Window_Icon
PB_Window_Cursor
PB_Window_Objects
PB_Object_GetOrAllocateID(*Object,id)
EndImport
ProcedureDLL This()
OpenWindow(0,0,0,320,240,"")
EndProcedure