[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 3/4] vbscript: Implemented Sgn(try 4)
From:       Shuai Meng <mengshuaicalendr () gmail ! com>
Date:       2014-06-28 1:57:59
Message-ID: CAOhhAYODsJw2VgiggKyVdQSMRvw+9LnNVWAWSn7MyyMgjXjwaA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you Piotr.
Yes, Sgn(Null) will return error, so do conversion functions. I wonder
whether should I send some patches to fix the conversion functions.
As for Sgn(Null), I don't know how describe this error, I mean, I can't
match the error_const_value between wine and windows document. For example,
when Err.number = 458, it is described as DISP_E_BADVERTYPE in wine while
in windows document it is Variable uses an Automation type not supported in
VBScript <http://msdn.microsoft.com/en-us/library/93dk459a(v=vs.84).aspx>  (
http://msdn.microsoft.com/en-us/library/xe43cc8d(v=vs.84).aspx)

I have found that when Sgn(Null) is called, Err.number = 94, this error is
described as Invalid use of Null
<http://msdn.microsoft.com/en-us/library/c6ct86c6(v=vs.84).aspx>, but I
can't find the correspond description in wine/include/winerror.h.

So I shall be very grateful if you can offer some hints.
2014-06-27 17:42 GMT+08:00 Piotr Caban <piotr.caban@gmail.com>:

> Please add VT_NULL argument handling and tests. This function is returning
> error on Sgn(Null) call.
>

[Attachment #5 (text/html)]

<div dir="ltr">Thank you Piotr.  <div>Yes, Sgn(Null) will return error, so do \
conversion functions. I wonder whether should I send some patches to fix the \
conversion functions.</div><div>As for Sgn(Null), I don&#39;t know how describe this \
error, I mean, I can&#39;t match the error_const_value between wine and windows \
document. For example, when Err.number = 458, it is described as DISP_E_BADVERTYPE in \
wine while in windows document it is  <a \
href="http://msdn.microsoft.com/en-us/library/93dk459a(v=vs.84).aspx" \
style="text-decoration:none;color:rgb(3,105,122);font-family:&#39;Segoe \
UI&#39;,&#39;Lucida Grande&#39;,Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">Variable \
uses an Automation type not supported in VBScript</a>    (<a \
href="http://msdn.microsoft.com/en-us/library/xe43cc8d(v=vs.84).aspx">http://msdn.microsoft.com/en-us/library/xe43cc8d(v=vs.84).aspx</a>)</div>


<div><br></div><div>I have found that when Sgn(Null) is called, Err.number = 94, this \
error is described as  <a \
href="http://msdn.microsoft.com/en-us/library/c6ct86c6(v=vs.84).aspx" \
style="font-size:13px;text-decoration:none;color:rgb(3,105,122);font-family:&#39;Segoe \
UI&#39;,&#39;Lucida Grande&#39;,Verdana,Arial,Helvetica,sans-serif;line-height:18px">Invalid \
use of Null</a>, but I can&#39;t find the correspond description in \
wine/include/winerror.h.  </div>

<div><div class="gmail_extra"><br>So I shall be very grateful if you can offer some \
hints.<br><div class="gmail_quote">2014-06-27 17:42 GMT+08:00 Piotr Caban <span \
dir="ltr">&lt;<a href="mailto:piotr.caban@gmail.com" \
target="_blank">piotr.caban@gmail.com</a>&gt;</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">Please \
add VT_NULL argument handling and tests. This function is returning error on \
Sgn(Null) call.<br>


</blockquote></div><br></div></div></div>





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic