Variable in Visual Basic

Nyef nyef at
Fri Jan 23 14:43:37 CST 2004

On Fri, Jan 23, 2004 at 04:36:58PM -0200, Savio Ramos wrote:
> Hi,
> I am using wine with fake_windows. A Program don't works and return the message below.
> fixme:ole:VarCat Failed to convert right side from vt 8 to VT_BSTR?

The code for this fixme is slightly broken, it really failed to convert
the left side, and doesn't tell us which vt it is trying to convert from.
If you built from source could you apply the attached patch to
dlls/oleaut32/variant.c, re-build, re-run your program and post the
updated output?


--Alastair Bridgewater
-------------- next part --------------
Index: variant.c
RCS file: /home/wine/wine/dlls/oleaut32/variant.c,v
retrieving revision 1.85
diff -u -r1.85 variant.c
--- variant.c   13 Jan 2004 23:16:04 -0000      1.85
+++ variant.c   23 Jan 2004 20:38:54 -0000
@@ -2276,7 +2276,7 @@
         V_VT(out) = VT_BSTR;
         hres = VariantChangeTypeEx(&bstrvar,left,0,0,VT_BSTR);
        if (hres) {
-           FIXME("Failed to convert right side from vt %d to VT_BSTR?\n",V_VT(right));
+           FIXME("Failed to convert left side from vt %d to VT_BSTR?\n",V_VT(left));
            return hres;
         VarBstrCat (V_BSTR(&bstrvar), V_BSTR(right), &V_BSTR(out));

More information about the wine-devel mailing list