Is there an algo, or function, which can replace ExitProcess? (smaller than ExitProcess)

Posted on 2002-07-05 06:21:20 by DarkEmpire
Smaller than ExitProcess? Awha?
Theoretically you can do a "ret" if you haven't messed up the stack
since program entry, but that is undocumented, might not work
on future windows versions, etc.

ExitProcess is one single call... cleans up resources... is guaranteed
to work on the next windows version, and is the only documented
way to exit your app.
Posted on 2002-07-05 07:21:35 by f0dder
ret is compatible wit all windows version (from 95 to XP), you can always said that sumthin will be uncompatible wit future version of win, but thats bull****, new version will be 64bit for intel itanium and we will turn to CPP...
Posted on 2002-07-05 12:45:32 by bart
well I know whose code will stay working on different windows OSes :rolleyes:
Posted on 2002-07-05 13:13:15 by Hiroshimator