CAtlRegExp::Match() behaviour

Dec 7, 2010 at 7:46 PM
Edited Dec 7, 2010 at 7:47 PM


In VC 8 I use the above function, passing a CString (a rather longish one, with some embedded formatting characters) as the 1st parameter, and it lives with it.

In VC 7.0 the same code throws an exception (It does so even if I copy the string to a NULL-terminated character array).

What gives?