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


Hi,

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






________________________________

Markus Bonk
Senior Software Engineer



[cid:imageac7178.GIF_at_91f798f8.4ca4a8b2]





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

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

markus_bonk_at_[hidden]<mailto:markus_bonk_at_[hidden]>

www.3dconnexion.com<http://www.3dconnexion.com>









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






imageac7178.GIF

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net