[IronPython] -X:PreferComDispatch

Lee Culver leculver at microsoft.com
Tue Oct 2 18:54:54 CEST 2007


Interesting.  Which of the two is "better"?  Is there a performance tradeoff turning it on or off with COM objects which do or do not implement IDispatch?

Thanks,
-Lee

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Dino Viehland
Sent: Tuesday, October 02, 2007 8:56 AM
To: Discussion of IronPython
Subject: Re: [IronPython] -X:PreferComDispatch

This enables using new support for COM objects that uses COM's IDispatch interface instead of trying to get a TypeInfo for the object and use that to invoke it.  With it enabled we'll first check for IDispatch then to see if we can get the TypeInfo, w/o it we'll check for the TypeInfo (via IProvideClassInfo or via IDispatch) and then try IDispatch if that fails.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Martin
Sent: Tuesday, October 02, 2007 7:35 AM
To: Discussion of IronPython
Subject: [IronPython] -X:PreferComDispatch

Hi,

Can anyone eleaborate a bit more on the -X:PreferComDispatch option?

Does it mean extended support for standard libraries? What does the
prefer part stand for as in prefer com over what?

BR
Martin
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list