473,563 Members | 2,668 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 2182

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

Similar topics

0
6795
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 the issue is. Thanks Ravi
4
3495
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 app to generate a dump and then loaded the dump file into VS.NET. And I just get gobbledegook. I can make it work for C++ apps so I know I'm not...
1
10658
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
3243
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 Tools to do a memory dump of the app when the lock up occurs, however the stack information is not very useful. I have just put a new build of our...
1
5222
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 found recommends using mscordmp.exe - The documentation does not specify file extension for the dump file - The documentation does not specify how to...
4
1708
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 app - if I handle some relevant exception, besides informing user of failure, I'd like to enable him to send me dump file in order to analyze what...
2
1499
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, specifically, the PropertyInfo class. > For details, see: > > http://msdn2.microsoft.com/en-us/library/system.reflection.propertyinfo.aspx >
1
3216
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 possible? TIA
7
5677
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
7664
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.