Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Yoshko

Pages: [1]
1
Graphics / Re: Open Music which consists of a unicode filename
« on: September 24, 2017, 06:31:25 pm »
THANKYOU ;D!
This works now perfectly:D

PS: I used std::vector<char>, because the datatype of filesize is std::streampos
      and new char[std::streampos] do not work (maybe there's a detour, but std::vector does).

2
Graphics / Open Music which consists of a unicode filename
« on: September 24, 2017, 10:55:23 am »
Hey.
This method: bool sf::Music::openFromFile ( const std::string& filename )
takes only a std::string as parameter, but my file name consists of the japenese song name.

How can I open my music from file, which consists of a unicode file name?




Pages: [1]