thx!

The criticalsections i use are taken from a guide to multithreading that AthenaOfDelphi has written. i'll see if i can rewrite it to use your method instead, if it is needed.

My topmost priority, however, is to repair my XXXToRaw functions, wich are not working....

IntToRaw
SingleToRaw
++

and i forgot the sleep

as a sidenote:
Vista is supposed to be viritually "crash proof" is the sense that even if the UI crashes, it can restart it without restarting the OS itself.

now: what if you make a bunch of threads with the priority "Time Critical", and they all contain unending loops. would they steal prosessing cycles even from the OS?