Wrong. That is illegal as well. When WinAPI is mentioned it means the Windows Application Programming Interfaces. You cannot mearly wrap any command and use it in another programming language. In your example you are not using any WinAPI whatsoever.Raven wrote:That however would be, because your not just wrapping but creating a complete system from it.Code: Select all
Interface IWinapi1 hWnd() sGetTitle( a.l ) Release() EndInterface NewList WinApi.IWinapi1 Procedure.l apiCreateWindow( hWnd.l, sizex.l, sizey.l, title.s ) AddElement( WinApi.hWnd() ) WinApi.hWnd() = OpenWindow( hWnd, 0, 0, sizex, sizey, title ) ProcedureReturn WinApi.hWnd() EndProcedure
LMAO, that would introduce thousands of bugs and quadruple the entire size of a full PureBasic install if someone bolted on that bloaty piece of crap! Personally i'll wait until the OGRE engine is fully supported!Raven wrote: DarkBasic Professional however doesn't have a similar thing, which unfortuntely means if someone wanted to pirate the engine for PureBasic, they could.



With all this flaming going on recently i thought i'd have a pop too.
