VB-Error: Type mismatch

Kevin Koltzau kevin at plop.org
Wed Feb 25 08:22:24 CST 2004

On Wednesday 25 February 2004 04:15 am, Fabian Cenedese wrote:
> Contrary to my first tests these API functions understand VB hex
> numbers quite well. There is no problem with these calls on Win2K:
> OLECHAR test[]={'&', 'H', 'F', '0', '8', 'F', '\0'};
> VarI4FromStr(test, LANG_NEUTRAL, NUMPRS_STD, &out);
> VarParseNumFromStr(test, LANG_NEUTRAL, NUMPRS_STD, &np, rgb);
> So I implemented this in wine too. If anybody has a program (mostly VB)
> that uses hex numbers in strings please try it out. Without any other remarks
> I'll send it to wine-patches.

I believe "&O123" is a valid format also, which is how you specify an octal number in VB

More information about the wine-devel mailing list