Late one morning, the fire alarm went off at work. Everybody dutifully filed out of the building and waited for the all-clear signal. A few of us looked at each other and said, "Let's go to lunch."
"I'll drive."
"Shotgun...
Sometimes the questions I see make me shake my head in wonderment.
How do I determine programmatically what processor architecture
my program was compiled for?
I want the x86 version of my program to behave differently from the
ia64 version.
Is there some API I can call?
Note that this person isn't asking
whether the program is running ...