Since BOOL means different things to SW's mytypes.h and standard Windows headers, cross-defining objects of the BOOL type will lead to unforeseen corruption.