[IronPython] COM Question

Alex Henderson alex at syzmk.com
Thu Nov 9 21:18:00 CET 2006


Marshal is a static class in InteropServices (part of the .Net framework,
nothing to do with IronPython) which is a bit of a dumping ground for useful
methods that assist in marshalling data back and forth between managed and
the unmanaged world... it'd be worth investigating invoking
Marshal.ReleaseComObject/Marshal.FinalReleaseComObject on any RCW (runtime
callable wrappers, i.e. the com objects your getting back from the EA
interop) so that you can free up resources immediately when you no longer
need them... It might not be necessary in most cases, but it's at least
worth being aware of how these things behave.

Chez,

 - Alex

-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of
propadovic.nenad at debitel.net
Sent: Friday, 10 November 2006 5:09 a.m.
To: users at lists.ironpython.com
Subject: Re: [IronPython] COM Question

Hello Alex,
thanx for your help. It seems to  work out. So this Marschal  is some kind
of casting for COM objects?
Anyway, I just got several lines of reasonable output.
Cheers,
Nenad

-------------------------------------------------
debitel.net Webmail
_______________________________________________
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