On 7/30/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote:
> Nigel Liang <[EMAIL PROTECTED]> writes:
>
> > +/* Utility functions to convert between WCHAR and long */
> > +long wcstolong(WCHAR * wcs)
> > +{
> > +int i;
> > +long lRet = 0;
> > +BOOL bNeg = FALSE;
> > +
> > +for (i = 0;
Nigel Liang <[EMAIL PROTECTED]> writes:
> +/* Utility functions to convert between WCHAR and long */
> +long wcstolong(WCHAR * wcs)
> +{
> +int i;
> +long lRet = 0;
> +BOOL bNeg = FALSE;
> +
> +for (i = 0; wcs[i] != '\0'; i++) {
> +if (i == 0 && wcs[i] == '-') {
> +