Hello Nimrodianers,
first post now phew. I'm really new to programming am still learning and want to learn. In C i've programmed some mini tools using mouse and keyboard automation. I wanted to translate it to nimrod but getting problems at calling:
#
INPUT Union
#
- INPUT_UNION = enum
- typeMi, typeKi, typeHi
# # INPUT Structure #
- INPUT* {.final, pure.} = object
- dwType*: DWORD case inputType: INPUT_UNION of typeMi: mi*: MOUSEINPUT of typeKi: ki*: KEYBDINPUT of typeHi: hi*: HARDWAREINPUT
LPINPUT* = ptr INPUT
SendInput(nInputs: UINT, pInputs: LPINPUT, cbSize: int)
In C i would have just used the address of operator. But in Nimrod i'm a bit Clueless. While i'm at it the forum got no search function does it?
Greets FroznPanda