Re: MSIDL to C#
- From: "Richard Blewett [DevelopMentor]" <richard at nospam dotnetconsult dot co dot uk>
- Date: Wed, 16 Nov 2005 20:02:32 -0000
"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:OdxnzXu6FHA.3804@xxxxxxxxxxxxxxxxxxxxxxx
> Random,
>
> Oddly enough, it is possible, but it won't ALWAYS map correctly.
> However, most of the time, it does.
>
> You should check out Reflector, located at (watch for line wrap):
>
> http://www.aisto.com/roeder/dotnet/
>
> Basically, you can compile the IL into an assembly, then disassemble it
> using this tool, and it will give you the C# source code.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> "Random Task" <Random@xxxxxxx> wrote in message
> news:JWLef.1895$KP5.263272@xxxxxxxxxxxxxxxxxxxxxxxx
>> Can anyone tell me if it is possible to generate C# from IDL/MSIDL ...
>>
>> I would love a www refence with a command example if possible :-)
>>
>> Cheers,
>> Random
>
>
The OP said I*D*L not IL. I guess he's talking about the COM interface
definition language - or a typo ;-)
You cannot generate C# from IDL AFAIK. Things like IUnknown have no
correlation in .NET as its garbage collected rather than reference counted.
What are you trying to acheive?
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk?
.
- Follow-Ups:
- Re: MSIDL to C#
- From: Random Task
- Re: MSIDL to C#
- References:
- MSIDL to C#
- From: Random Task
- Re: MSIDL to C#
- From: Nicholas Paldino [.NET/C# MVP]
- MSIDL to C#
- Prev by Date: Re: MSIDL to C#
- Next by Date: Re: ListBoxes
- Previous by thread: Re: MSIDL to C#
- Next by thread: Re: MSIDL to C#
- Index(es):
Relevant Pages
|