Re: [PATCH] vbscript: Implemented GetLocale
15 Mar
2015
15 Mar
'15
7:55 a.m.
+static HRESULT Global_GetLocale(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) +{ + return return_int(res, GetACP()); +}
This looks completely wrong. Docs say it should return locale id (as name suggests), not a codepage value.
15 Mar
15 Mar
1:53 p.m.
New subject: [PATCH] vbscript: Implemented GetLocale
2015-03-15 15:55 GMT+08:00 Nikolay Sivov <bunglehead(a)gmail.com>:
+static HRESULT Global_GetLocale(vbdisp_t *This, VARIANT *arg, unsigned
args_cnt, VARIANT *res) +{ + return return_int(res, GetACP()); +}
This looks completely wrong. Docs say it should return locale id (as name suggests), not a codepage value.
Yeah, I misunderstand that function. But what I concern more is this line: 213 #define DISPID_GLOBAL_GETLOCALE 207 it turns out 207 is not valid.
3932
Age (days ago)
3932
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nikolay Sivov -
Shuai Meng