Dear Dr. John Maddock,
Like I said in an earlier e-mail, the code is isolated. However, to make things sure I added it as:
#define BOOST_REGEX_DYN_LINK in the source code and there is no change.
Then I defined it in Properties->Preprocessor Definitions. Then it complains as:
"Mixing a Boost dll with a static runtime is a really bad idea ...". I don't know why?
>Other than that it's hard to say what the issue might be without
>seeing your code.
The surprising thing is that a single line of BOOST code (just an expression) disturbs the program. For example, I added:
boost::regex sre("!NULL|sil|SIL");
only and didn't do anything with it. Then when I run the program with the perfectly working code (non-boost), it misbehaves. So I don't think it is a problem with my regex code as all.
I don't think this problem is asscociated with the main program using my dll too. Otherwise, I must have missed something essential. I want to use Boost but I really need help at this point.
Thank you in advance!