<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-03-19 0:25 GMT+08:00 Piotr Caban <span dir="ltr"><<a href="mailto:piotr.caban@gmail.com" target="_blank">piotr.caban@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 03/18/15 17:15, Shuai Meng wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
2015-03-18 18:35 GMT+08:00 Piotr Caban <<a href="mailto:piotr.caban@gmail.com" target="_blank">piotr.caban@gmail.com</a><br></span>
<mailto:<a href="mailto:piotr.caban@gmail.com" target="_blank">piotr.caban@gmail.com</a>><u></u>>:<span class=""><br>
<br>
    On 03/17/15 09:29, Shuai Meng wrote:<br>
<br></span>
        -#define DISPID_GLOBAL___<u></u>VBMSGBOXHELPBUTTON        207<br>
        -#define DISPID_GLOBAL___<u></u>VBMSGBOXSETFOREGROUND     208<br>
        -#define DISPID_GLOBAL_VBMSGBOXRIGHT             209<br>
        -#define DISPID_GLOBAL___<u></u>VBMSGBOXRTLREADING        210<br>
        +#define DISPID_GLOBAL___<u></u>VBMSGBOXHELPBUTTON        208<br>
        +#define DISPID_GLOBAL___<u></u>VBMSGBOXSETFOREGROUND     209<br>
        +#define DISPID_GLOBAL_VBMSGBOXRIGHT             210<br>
        +#define DISPID_GLOBAL___<u></u>VBMSGBOXRTLREADING        211<span class=""><br>
<br>
           #define DISPID_GLOBAL_CCUR                      100<br>
           #define DISPID_GLOBAL_CINT                      101<br>
        @@ -210,6 +210,7 @@<br>
           #define DISPID_GLOBAL_EXECUTE                   204<br>
           #define DISPID_GLOBAL_EXECUTEGLOBAL             205<br>
           #define DISPID_GLOBAL_GETREF                    206<br>
        +#define DISPID_GLOBAL_GETLOCALE                 207<br>
<br>
    This changes are not matching the typelib in native vbscript.dll. It<br>
    looks like GetLocale function is not defined there at all.<br>
<br>
<br>
So it is unnecessary to implement GetLocale or SetLocale function? I<br>
don't quite understand your word.<br>
</span></blockquote>
As your test shows the function is implemented in native dll so it should be implemented in wine. It's just not defined in typelib.<br></blockquote><div><br></div><div>I have checked the vbscript.dll on win7, it's true that GetLocale and SetLocale are not defined in typelib. But then we can't add it to global.c and vbsglobal.idl, right? I would be appreciated if you can offer some ideas on how I can implement it.</div></div><br></div></div>