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

List:       wine-devel
Subject:    Re: VB-Error: Type mismatch
From:       Fabian Cenedese <Cenedese () indel ! ch>
Date:       2004-02-25 15:56:49
Message-ID: 5.2.0.9.1.20040225165134.01c422a8 () NT_SERVER
[Download RAW message or body]


>> 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

Yes, octal is another valid format. I think I can squeeze it in this patch
as well, most of it is already done. I also need to add another check
as they even understand &h with lower case h.

bye  Fabi



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

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