473,503 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dump DLL sample application using Reflection.

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/View...px?TID=dlldump
Article: http://www.nicecleanexample.com/View...px?TID=dlldump

Hope it helps someone save a little time.

John

Aug 18 '07 #1
0 2180

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6783
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
4
3492
by: Adam Benson | last post by:
Hi, Apologies if this is the wrong newsgroup. Is it possible to produce a dump of an app (say using ADPlus -hang -pn app.exe) ? I've installed all the symbols, used ADPlus on a simple .NET...
1
10656
by: ChuckDemon | last post by:
Is there a .NET class or function to dump the contents of a variable/array/object/whatever to the console? Console.WriteLine( dump_variable( my_var ) ); Thanks.
9
3239
by: Microsoft News Server | last post by:
Hi, I am currently having a problem with random, intermittent lock ups in my ASP.net application on our production server (99% CPU usage by 3 threads, indefinately). I currently use IIS Debug...
1
5208
by: dekel | last post by:
I'm trying to find the way to create and debug dumpfile of dotnet application. Any recommendation of articles, tools for creating dump file + debug it are appreciated. The documentation I...
4
1702
by: Marcin Rzeznicki | last post by:
Hello, Is it possible to generate dump file at some execution point in managed application? I would like to be able to gather information about exceptions and their context from users running my...
2
1498
by: @@Worker | last post by:
can someone write a sample here? thanks "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> дÈëÏûÏ¢ÐÂÎÅ:%23VUjBemeGHA.1204@TK2MSFTNGP02.phx.gbl... > Use the system.Reflection namespce,...
1
3211
by: Rick | last post by:
I want to have my application create a memory/stack dump for some non-fatal exceptions of my choosing. Basically I want to see the state of the variables when the exception occurred. Is this...
7
5669
by: capnwhit | last post by:
Hello all, The program below has a bug... The program is supposed to convert a string to a continuous hex dump and back to a string. The output should be as follows: abcd 61626364 abcd
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.