I could not find an appropriate forum that dealt with just the Visual Studio environment itself, in particular macro processing. I am posting my problem here as it affects every C++ file I create.
The problem I have is with the macro processor's inability to deal with embedded commas in text strings. It appears any instance of a comma in a text string crashes the macro processor with the following error:
Unspecified error (Exception from HRESULT: 0x80004005(E_FAIL))
This has a very big negative impact on production as a large number of macros are no longer useable and I have to manually recreate the macro's intended output every time it is needed. Macros are used to create file headers and produce large blocks of code that are used often in the production cycle of any given project. Is there a fix for this comma bug
One annoying feature of this bug is it does not break at the first comma in the first string it finds necessarily but will appear to run happily past commas and then suddenly hit one and blow up.