VB-Error: Type mismatch
Cenedese at indel.ch
Fri Feb 13 03:56:42 CST 2004
>I'm trying (again) to run a VB app on wine. But it never shows up. Instead
>I only see a dialog with this Type mismatch error and then it quits. I tried
>to find the place where it goes wrong. Apparently it tries to parse a number
>from a string in VB notation.
I found that this string "&H8000" comes from my code and it's intentional.
In VB you can convert a string to a long by using i=CLng(str). But if the
string number is in hex format it needs to be VB hex notation. This works
on Windows and fails on wine. I now need to find out how CLng(str)
converts the string and why this is different on wine.
More information about the wine-devel