Well, if someone can help that would be nice...cause I'm almost going nuts ! I only have 1 line of code, and this is :
pcrecpp::RE re("abc");
inside a function OnBnClickedButtonGo(). And this function fails in the Release Mode ..! ..while it works OK in debug mode. (I use VS 8 on WinXP)
The error message is : "A buffer overrun has occurred in testregex.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program. For more details please see Help topic 'How to debug Buffer Overrun Issues'."
(BTW there is no such topic -arghhh)
I suspect it is the destructor of it, which is invisible and implied...but dunno really Anybody come across anything like this ?? pls ! help ..
PS : I am statically linking to the PCRE lib version 7.8 PS2 : Not very rrelevant but may help some people who have trouble linking to the PCRE library (it took me hours to sort it out) : include the line "#define PCRE_STATIC"