Click here to Skip to main content
15,886,689 members
Home / Discussions / C#
   

C#

 
GeneralQuery design UI in C# Pin
hnguyen23-Jan-03 19:24
hnguyen23-Jan-03 19:24 
GeneralRe: Query design UI in C# Pin
leppie24-Jan-03 6:32
leppie24-Jan-03 6:32 
GeneralRe: Query design UI in C# Pin
FruitBatInShades25-Jan-03 13:16
FruitBatInShades25-Jan-03 13:16 
QuestionHow to integrate FLEX with C#? Pin
anjana23-Jan-03 16:39
anjana23-Jan-03 16:39 
GeneralEXE header Pin
Anonymous23-Jan-03 15:23
Anonymous23-Jan-03 15:23 
GeneralRe: EXE header Pin
Heath Stewart23-Jan-03 18:18
protectorHeath Stewart23-Jan-03 18:18 
GeneralRe: EXE header Pin
plextoR24-Jan-03 0:42
plextoR24-Jan-03 0:42 
GeneralRe: EXE header Pin
Heath Stewart24-Jan-03 2:41
protectorHeath Stewart24-Jan-03 2:41 
If you're going to work with executable headers (which aren't just .exe's BTW), you have to know what PE/COFF headers are. The Common Object File Format actually started back on VAX/VMS. Microsoft modified it with a Portable Executable header which contains a sort of bootstrapper that is actually a small DOS executable (yes, even in NT). The PE header is just a bunch of structures with pointers to other structures and a lot of flags. For instance, the difference in the headers for a .exe and a .dll is a single bit.

You can find a couple really great articles about reading PE/COFF headers written by Matt Pietrek for MSDN Magazine at the following locations:

Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format[^]
Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format, Part 2[^]

You may be interested in a utility he wrote called DUMPBIN. Microsoft distributes it with developers studios, so it's probably already on your system.

"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
GeneralC# with database Pin
hkl23-Jan-03 13:36
hkl23-Jan-03 13:36 
GeneralRe: C# with database Pin
Heath Stewart23-Jan-03 18:21
protectorHeath Stewart23-Jan-03 18:21 
Generalhiding console in exe program Pin
jtmtv1823-Jan-03 12:16
jtmtv1823-Jan-03 12:16 
GeneralRe: hiding console in exe program Pin
Eric Anderton23-Jan-03 15:33
Eric Anderton23-Jan-03 15:33 
GeneralRe: hiding console in exe program Pin
jtmtv1823-Jan-03 15:53
jtmtv1823-Jan-03 15:53 
QuestionCasting from a collection Enumerator?? How ?? Pin
Dato23-Jan-03 12:01
Dato23-Jan-03 12:01 
AnswerRe: Casting from a collection Enumerator?? How ?? Pin
Heath Stewart24-Jan-03 8:57
protectorHeath Stewart24-Jan-03 8:57 
GeneralLicensing Pin
Patrick Lassalle23-Jan-03 6:22
Patrick Lassalle23-Jan-03 6:22 
GeneralRe: Licensing Pin
Roger Alsing23-Jan-03 20:51
Roger Alsing23-Jan-03 20:51 
GeneralRe: Licensing Pin
Patrick Lassalle24-Jan-03 7:55
Patrick Lassalle24-Jan-03 7:55 
GeneralRe: Licensing -- Decompilers - Another Problem Pin
T Jenniges28-Jan-03 13:17
T Jenniges28-Jan-03 13:17 
GeneralRe: Licensing -- Decompilers - Another Problem Pin
Patrick Lassalle28-Jan-03 13:23
Patrick Lassalle28-Jan-03 13:23 
GeneralRe: Licensing -- Decompilers - Another Problem Pin
T Jenniges28-Jan-03 13:28
T Jenniges28-Jan-03 13:28 
GeneralProblems with assemblies Pin
the_grip23-Jan-03 5:02
the_grip23-Jan-03 5:02 
GeneralRe: Problems with assemblies Pin
leppie23-Jan-03 6:04
leppie23-Jan-03 6:04 
GeneralRe: Problems with assemblies Pin
the_grip23-Jan-03 6:10
the_grip23-Jan-03 6:10 
GeneralRe: Problems with assemblies Pin
leppie23-Jan-03 6:23
leppie23-Jan-03 6:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.