> DWORD main()
int main is the portable answer.

It's just that a DWORD is capable of storing all possible integer values on that particular platform. I guess win32 GUI programs which begin with winmain() also return a DWORD as the exit status.

Besides, very few operating system shells can cope with process exit status values which exceed 8 bits, it isn't that much of a deal.

> Also, what happens when I try to get the exit code on a
<clint>Well punk, do you feel lucky</clint>