2015-03-15 15:55 GMT+08:00 Nikolay Sivov <bunglehead@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.