Boost logo

Boost Users :

Subject: [Boost-users] boost::interprocess::managed_mapped_file filename
From: Markus Bonk (markus_bonk_at_[hidden])
Date: 2017-10-10 13:03:35


Unfortunately wmanaged_mapped_file constructors use char instead of wchar for the filename. This causes big problems on windows where %appdata% and %localappdata% include the user name which may include Unicode characters that after conversion result in the windows ‘A’ methods failing to find the referenced file.
I don’t know of any work around except using Unicode filenames.

Does anyone know of a way around this.
Are there any plans of making wmanaged_mapped_file use wchar for the filenames?



Markus Bonk
Senior Software Engineer


3Dconnexion GmbH
Clarita-Bernhard-Str. 18
81249 München

Tel: +49 (89) 897 45 42 - 70
Fax: +49 (89) 897 45 42 - 50


Geschäftsführer: Antonio Pascucci
Sitz der Gesellschaft: München
Registergericht: München HRB 99232


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at