06-15-2007, 06:19 AM
You're using an old version of FB for one.
For two, I'm sure if jofers made it it can be compiled into a seperate module and linked, so you shouldn't need to include windows.bi
Lastly if you do have to include it, you're screwed, because MS thought it was a great idea to litter the general namespace with things like "this" and "point".
So, here's how you hack it.
This is cha0s btw.
For two, I'm sure if jofers made it it can be compiled into a seperate module and linked, so you shouldn't need to include windows.bi
Lastly if you do have to include it, you're screwed, because MS thought it was a great idea to litter the general namespace with things like "this" and "point".
So, here's how you hack it.
Code:
function point2( byval buf as any ptr, byval x as integer, byval y as integer ) as integer
function = point( buf, x, y )
end function
#include "windows.bi"
'' point2 now is the old point
This is cha0s btw.
Open source FTW