Neo-Bahamut
Member
Hello,
I was experimenting with the Win32API a bit and found the GetProcessWorkingSetSize method.
But when I call it, the RGSS Player crashes ("has stopped working").
I was experimenting with the Win32API a bit and found the GetProcessWorkingSetSize method.
But when I call it, the RGSS Player crashes ("has stopped working").
Code:
api = Win32API.new('kernel32.dll', 'GetProcessWorkingSetSize', 'iii', 'i')
min, max = 0, 0
api.call(-1, min ,max) # crash here