// interprocess test.cpp : Defines the entry point for the console application. // //#include "stdafx.h" #define BOOST_DATE_TIME_NO_LIB #include "boost\interprocess\sync\named_mutex.hpp" #include #include using namespace boost::interprocess; using namespace std; int main(int argc, char argv[]) { try { named_mutex nm(create_only,"testmtx"); } catch(interprocess_exception &ex){ cout<< ex.what() <> s;// pause to allow hibernation try{ named_mutex nm(open_or_create,"testmtx"); } catch(interprocess_exception &ex){ cout<< ex.what() <