Question regarding VT_INT in oleaut32

qingdoa daoo qingdao33122 at yahoo.com
Fri Jul 14 19:12:23 CDT 2006


--- qingdoa daoo <qingdao33122 at yahoo.com> wrote:

> --- Benjamin Arai <me at 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 at 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



More information about the wine-devel mailing list