Christian, I don't have any simple snippet that I can send because I'm mapping files that are provided by XercesC as System Ids for whatever xml schema I open. The whole thing is too involved to just paste into a short email because it entails loading the schema into Xerces, getting all available System Ids for the namespaces present and then finally mapping those System Ids (provided they are local files). These files may/may not be locked by Xerces when I attempt to map them, I simply don't know. That said, my first observation is with the flag I use: FILE_ATTRIBUTE_READONLY in the call to CreateFile(...) which is not used in mapped_file_source::open_impl. But I will be glad to test any changes proposed since I can just plug it into my own mess. Elisha
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Christian Henning Sent: Friday, August 26, 2005 7:28 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost.Iostreams: mapped_file_source can't openread only files
Morning Elisha, can you send us a code snippet to show us what you do?
Christian
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users