Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SUB & FUNCTION when declaring dynamic library
#2
Terry, the return value is simply discarded, but SetCursorPos  should be declared as a function
Code: (Select All)

DECLARE DYNAMIC LIBRARY "User32"
  FUNCTION SetCursorPos~& (BYVAL x AS LONG, BYVAL y AS LONG) 'move cursor position
END DECLARE

btw Terry, you probably won't be able to see my post as I seem to be on your ignore list Sad
Reply


Messages In This Thread
RE: SUB & FUNCTION when declaring dynamic library - by Jack - 06-09-2024, 06:02 PM



Users browsing this thread: 5 Guest(s)