Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dump DLL sample application using Reflection.

0 views
Skip to first unread message

johnmott<%=58+1%>@hotmail.com

unread,
Aug 18, 2007, 6:06:37 PM8/18/07
to
Hi all,

I recently needed to compare versions of different DLL's to try to
find the one most like a production version. There are a lot of ways
and tools for this sort of thing, but what I really wanted was a simple
ASCII display of methods and property prototypes in file so I could
compare multiple files with notepad.

Being a stubborn programmer, of course, I futzed around for an hour or two with
different utilities I had access to before deciding that I really needed
a library that would let me poke around inside a DLL using Reflection,
so I could generate what I wanted exactly the way I wanted it.
I created a sample app and wrote an article about it.

Part of the app it is a set of wrapper
classes that give access to the Reflection types without duplicating them.
Its a very thin layer that should be easy to customize, because whats perfect
for one person isn't likely to be perfect for someone else.

Also, just for fun I put in a simple CIL/MSIL disassembler.
The article and the sample application with source are available at

App: http://www.nicecleanexample.com/ViewApp.aspx?TID=dlldump
Article: http://www.nicecleanexample.com/ViewArticle.aspx?TID=dlldump

Hope it helps someone save a little time.

John

0 new messages