Click here to Skip to main content
15,891,136 members
Articles / Desktop Programming / Win32

Analyzing a .NET Executable or DLL without .NET Installed

Rate me:
Please Sign up or sign in to vote.
4.86/5 (59 votes)
15 Feb 2013CPOL 68.9K   1.4K   68  
A pure Win32 API application that can analyze a .NET binary without .NET installed
This article describes how to add to a Win32 API, C++ application, the ability to browse for executables (.exe) files, and to determine whether they are .NET ones, and if so, to analyze their classes and display a list of them, without having .NET installed on the machine running it.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by TreeControl.rsrc.rc
//
#define IDD_DIALOG1                     101
#define IDB_TREE                        134
#define IDB_FILE                        135
#define IDI_ICON1                       136
#define IDC_TREE1                       1059
#define IDC_DELETE                      1061
#define IDC_ADDROOT                     1062
#define IDC_CHILD                       1063
#define IDC_DELALL                      1065

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        137
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1066
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO Secured Globe, Inc.
United States United States
Michael Haephrati is a music composer, an inventor and an expert specializes in software development and information security, who has built a unique perspective which combines technology and the end user experience. He is the author of a the book Learning C++ , which teaches C++ 20, and was published in August 2022.

He is the CEO of Secured Globe, Inc., and also active at Stack Overflow.

Read our Corporate blog or read my Personal blog.





Comments and Discussions