Extern "User32" fails

BlitzMax Forums/BlitzMax Beginners Area/Extern "User32" fails

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

here are a few dll calls, the "win32"is the calling convention , not the dll:

Extern "win32"
	Function SetWindowPos:Int(hWnd,hWndInsertAfter,x,y,cx,cy,wFlags) = "SetWindowPos@28"
	Function GetWindowLong :Int(hWnd ,nIndex)= "GetWindowLongA@8"
	Function GetActiveWindow:Int()= "GetActiveWindow@0"
	Function SetWindowLong :Int(hWnd ,nIndex,lNewLong )= "SetWindowLongA@12"	
End Extern