Getting the proc address means the function exists. Still have to call it, no?
Code: Select all
sub hi()
print "hi"
end sub
var p = procptr(hi)
print p '' address
p() '' call function through pointer
I am thinking of fixing a number of gfxlib2 bugs next, and want to do this one too. If this works, there's a few options for us, for example, allowing fbc-32 DirectX to run on Wow64, but using GetKeyboardState() instead of IDirectInput, and so on.