🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.aspdotnet.general
1 messages
1 total messages Started by johnmott Sat, 18 Aug 2007 22:06
Dump DLL sample application using Reflection.
#61
Author: johnmott
Date: Sat, 18 Aug 2007 22:06
28 lines
2437 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads