Winterdom
You can use the __cplusplus_cli macro with #ifdef to detect whether the /clr switch is enabled or not. Note, however, that __cplusplus_cli is not defined when compiling with /clr:oldSyntax.
.: tomasr | 2005-02-13 11:04:37 :.