Beep = assert( package.loadlib( “kernel32.dll”, “Beep” ) )
Beep(100,100)
It actually makes a beep, but then renoise freezes. Maybe it is because passed data was in wrong format
Beep = assert( package.loadlib( “kernel32.dll”, “Beep” ) )
Beep(100,100)
It actually makes a beep, but then renoise freezes. Maybe it is because passed data was in wrong format
Maybe using similar approach we can get a tool window handle and send message as well?
According to the Lua docs the resolved function must be a lua_CFunction
typedef int (*lua_CFunction) (lua_State *L);
But I honestly never tried this.