Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I draw on a bitmap? Pin
MikeBeard27-Jan-03 3:44
MikeBeard27-Jan-03 3:44 
AnswerRe: How do I draw on a bitmap? Pin
MikeBeard24-Jan-03 11:25
MikeBeard24-Jan-03 11:25 
GeneralAdding File Type actions Pin
Waleed Zedan24-Jan-03 6:07
Waleed Zedan24-Jan-03 6:07 
Generalsilly gui question/request Pin
bertb24-Jan-03 3:50
bertb24-Jan-03 3:50 
QuestionWhat happens with events if computer is slow. Pin
Zinj24-Jan-03 2:24
sussZinj24-Jan-03 2:24 
AnswerRe: What happens with events if computer is slow. Pin
leppie24-Jan-03 6:16
leppie24-Jan-03 6:16 
GeneralRe: What happens with events if computer is slow. Pin
jinz25-Jan-03 11:40
jinz25-Jan-03 11:40 
GeneralRe: What happens with events if computer is slow. Pin
leppie25-Jan-03 20:30
leppie25-Jan-03 20:30 
GeneralThe mystical power C# Pin
gekoscan24-Jan-03 2:11
gekoscan24-Jan-03 2:11 
GeneralRe: The mystical power C# Pin
Mark Sanders24-Jan-03 3:38
Mark Sanders24-Jan-03 3:38 
GeneralFlicker Free is not the Key Pin
gekoscan24-Jan-03 3:58
gekoscan24-Jan-03 3:58 
GeneralRe: The mystical power C# Pin
Q&A27-Jan-03 23:16
Q&A27-Jan-03 23:16 
Generalreading header informations from avi files Pin
hlandler24-Jan-03 0:24
hlandler24-Jan-03 0:24 
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 

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.