[PATCH] vbscript: Implemented Asc(try 4)
piotr.caban at gmail.com
Thu Mar 5 10:49:29 CST 2015
On 03/04/15 19:59, Shuai Meng wrote:
> Change log:
> Free 'bstr' only when it comes from to_string().
> dlls/vbscript/global.c | 26 ++++++++++++++++++++++++--
> dlls/vbscript/tests/api.vbs | 42
> 2 files changed, 66 insertions(+), 2 deletions(-)
This function needs to convert the WCHAR to correct character set. In
order to easily write a test for it ChrW needs to be implemented first.
The test may e.g. look like this:
Your implementation will return 261 in this case, on windows it produces 97.
More information about the wine-devel