Ok, when using "#include <fstream.h>" using file_buf::sh_read or any of the sh_*'s work just fine. But when using "#include <fstream>", they don't work. Even when im "using std::filebuf" ... Says sh_*'s are not part of filebuf namespace or whatever.... So how do you get them to work, or is there some other way you're meant to lock files with <fstream> ?
