I want to implement the solution using the preprocessor described here:
Reuse define statement from .h file in C # code
Bonus points if you can point me to the documents on MSDN. I find it difficult to find them ...
Use the / P switch for cl.exe ... see MSDN