typedef int BOOL;

found this in WinDef.h

...why?
Because C doesn't have a boolean data type.
oh.. thanks, though wouldn't char make more sense?
char could actually be slower as int's size equals to the CPU's word-size.
Topic archived. No new replies allowed.