Ben,
Is this a CORBA component or a distributed COM component (DCOM/COM+)?
If it is the latter, then you should be able to compile the IDL using
MIDL and then use the type library importer to create a managed
representation. Then, in code, you would call the static GetTypeFromProgID
or GetTypeFromCLSID to get the type that is associated with the
implementation of that interface. Pass that to the static CreateInstance
method on the Activator class, and then cast the return value to your
interface.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ben" <be******@gmail.comwrote in message
news:11**********************@k79g2000hse.googlegr oups.com...
>
I have a C# application that I would like to modify to communicate
with a legacy RPC server to get some data. I have the IDL for that
server. Is there an IDL compiler that will give me C# code? What are
my options here?
Thanks,
Ben