[Mono-list] Will COM be supported?
Miguel de Icaza
miguel@ximian.com
06 Jan 2003 16:28:49 -0500
Hello,
> COM is one of the only ways right now to call back into managed code from
> legacy/unmanaged code. Will there be another way on mono to interoperate
> with legacy code, or is COM supported?
You can also call back from unmanaged to managed through delegates.
Just pass a delegate to your managed routine with P/Invoke (it will look
like a function pointer to the unmanaged code), invoke it, and it will
magically jump back into managed code.
Miguel