Re: [PATCH] vbscript: Implemented String(try 3)
7 Nov
2014
7 Nov
'14
10:38 a.m.
On 11/07/14 04:36, Shuai Meng wrote:
used mod other than division when the second argument(length of string) is grater than 256; Your test was already showing that it doesn't work this way. You will probably need to use MultiByteToWideChar function here.
+ case VT_ARRAY|VT_BYREF|VT_VARIANT: + return DISP_E_TYPEMISMATCH; + default: + hres = to_short(arg + 1, &tmp); There's no need to handle VT_ARRAY|VT_BYREF|VT_VARIANT case separately. It will be done by to_short function. Thanks, Piotr
4056
Age (days ago)
4056
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban