----- Original Message ----- From: "John Maddock"
So my best guess at present is that this is a VC++ installation issue... does building and running a "hello world" app in debug mode work?
Apologies if this is a stupid suggestion... John.
The short answer is "yes", John. If I comment out the line that ends up needing regex - i.e. // bool bb = validate_card_format("1111 2222 3333 4444"); then the app builds and runs fine in either mode. In fact I've been working on this app for around 7 weeks and it only went wrong after I added those (fairly minor) regex additions. Having said that, this isn't a simple Windows app because I'm using gtk-win32 (rather than MFC) to provide the GUI. It's getting a bit late here (UK time) and I'm a bit too tired to keep working but first thng tomorrow, I'll build a very simple console app and see if I get the same problem. Thanks for your suggestions. In the meantime (just out of curiosity) what is the significance of the letter "g" in:- libboost_regex-vc80-mt-gd-1_40.lib I would have guessed at the equivalent Debug lib being called:- libboost_regex-vc80-mt-d-1_40.lib or libboost_regex-vc80-mtd-1_40.lib John BTW - No.... BOOST_REGEX_DYN_LINK isn't defined and if I "hide" the DLLs, the Release build still runs okay - so it must be linking statically.