[Fixed][Win32] Load games from command line and unicode filenames
|
08-29-2014, 10:08 PM
(This post was last modified: 08-29-2014 11:05 PM by TheDax.)
Post: #2
|
|||
|
|||
RE: Load games from command line and unicode filenames
Currently no, it uses "ANSI" to read the command-line since we haven't written the code to parse it as wide.
Quote:Note that lpCmdLine uses the LPSTR data type instead of the LPTSTR data type. This means that WinMain cannot be used by Unicode programs. http://msdn.microsoft.com/en-us/library/ms633559.aspx It shouldn't be hard to convert it to use wide strings though (as far as I know, only WinMain and Config::Load would need adjustment..). 4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375 I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[Fixed][Win32] Load games from command line and unicode filenames - CiroConsentino - 08-29-2014, 06:53 PM
RE: Load games from command line and unicode filenames - TheDax - 08-29-2014 10:08 PM
RE: [Win32] Load games from command line and unicode filenames - CiroConsentino - 08-29-2014, 11:26 PM
RE: [Win32] Load games from command line and unicode filenames - TheDax - 08-30-2014, 12:21 AM
RE: [Win32] Load games from command line and unicode filenames - CiroConsentino - 08-30-2014, 01:36 PM
RE: [Win32] Load games from command line and unicode filenames - TheDax - 08-30-2014, 04:52 PM
RE: [Win32] Load games from command line and unicode filenames - TheDax - 08-31-2014, 04:26 AM
RE: [Win32] Load games from command line and unicode filenames - CiroConsentino - 08-31-2014, 02:39 PM
RE: [Win32] Load games from command line and unicode filenames - TheDax - 08-31-2014, 05:23 PM
|