Hi all I am reading another post about task priority and I find this code to get some more frames per seconds:
#constant REALTIME_PRIORITY 256
#constant HIGH_PRIORITY 128
#constant ABOVE_NORMAL_PRIORITY 32768
#constant NORMAL_PRIORITY 32
#constant BELOW_NORMAL_PRIORITY 16384
#constant LOW_PRIORITY 64
Load Dll "Kernel32.dll", 1
process = Call Dll( 1, "GetCurrentProcess" )
Call Dll 1, "SetPriorityClass", process, BELOW_NORMAL_PRIORITY
Delete Dll 1
Wait Key
I am using windows7 without Kernel32 dll but I download it and I put this dll in the project folder.
But I got always the "Could not call DLL function" error.
Can someone help?