--- qingdoa daoo qingdao33122@yahoo.com wrote:
--- Benjamin Arai me@benjaminarai.com wrote:
Hi,
I wrote a conformance test for oleaut32:VariantChangeType but I ran into a snag. The conformance test under windows does not allow the conversion from type VT_INT to VT_I8 but it does allow for VT_I4 to VT_I8. I made the necessary changes to VariantChangeType so that it conforms to windows but in doing so, it has broken several functions that use VariantChangeType to coerce from VT_INT to VT_I8 cause several conformance tests to fail as a result.
Is it reasonable to fix the now failing functions in wine by converting VT_INT to VT_I4 before coercing in the broken functions? This will fix the conformance tests but I want to make sure that we can assume VT_INT is a 4 byte integer before proceeding. Any help is greatly appreciated.
Benjamin Arai me@benjamianrai.com
I think we can wait until a real world app breaks because it rely on this. I doubt if it will happen because native oleaut32 from win2000 doesn't seem to support VT_I8 at all. You can make a note in some wine source file to document your findings.
CC to wine-devel
___________________________________________________________ Mp3疯狂搜-新歌热歌高速下 http://music.yahoo.com.cn/?source=mail_mailbox_footer