Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: nothing appear! Pin
Steen Krogsgaard24-Feb-02 0:54
Steen Krogsgaard24-Feb-02 0:54 
GeneralRe: nothing appear! Pin
Steen Krogsgaard24-Feb-02 0:56
Steen Krogsgaard24-Feb-02 0:56 
GeneralRe: nothing appear! Pin
Paul M Watt23-Feb-02 10:34
mentorPaul M Watt23-Feb-02 10:34 
QuestionHow to load icon resource into hBitmap ? Pin
22-Feb-02 22:53
suss22-Feb-02 22:53 
AnswerRe: How to load icon resource into hBitmap ? Pin
Joaquín M López Muñoz22-Feb-02 23:15
Joaquín M López Muñoz22-Feb-02 23:15 
GeneralRe: How to load icon resource into hBitmap ? Pin
23-Feb-02 3:18
suss23-Feb-02 3:18 
QuestionHow to get the export table of a given module Pin
22-Feb-02 22:52
suss22-Feb-02 22:52 
AnswerRe: How to get the export table of a given module Pin
Paul M Watt23-Feb-02 6:58
mentorPaul M Watt23-Feb-02 6:58 
You need to navigate through the Executable or DLL file. Most likely it will be in the windows PE format that was created for windows programs from 9x on.

I have done this quite alot, and what I have found the easiest is to map the file that you are interested in memory, and get a pointer to the base address of this file.

Next you can read through the entire file like it was a pointer to memory. At the base address of this file you will find a structure called:

PIMAGE_DOS_HEADER

from here you will be able to navigate through the EXE by the pointers and offsets that you are able to extract from that original header.

I can't remember the rest of the path right off of the top of my head, but if you search MSDN for Matt Pietrek's PEDUMP program, it will give all of the information that you need, and you can use most of the source code that he has written in order to get the export table that you want.
GeneralGlobal variable in MFC Pin
22-Feb-02 21:52
suss22-Feb-02 21:52 
GeneralRe: Global variable in MFC Pin
Paul M Watt22-Feb-02 22:06
mentorPaul M Watt22-Feb-02 22:06 
GeneralRe: Global variable in MFC Pin
Nish Nishant22-Feb-02 22:22
sitebuilderNish Nishant22-Feb-02 22:22 
GeneralRe: Global variable in MFC Pin
23-Feb-02 0:10
suss23-Feb-02 0:10 
GeneralOnPaint Handling... Pin
John Cruz22-Feb-02 18:30
John Cruz22-Feb-02 18:30 
GeneralRe: OnPaint Handling... Pin
Paul M Watt22-Feb-02 22:15
mentorPaul M Watt22-Feb-02 22:15 
GeneralRe: OnPaint Handling... Pin
John Cruz23-Feb-02 2:39
John Cruz23-Feb-02 2:39 
GeneralVC6 Macros: Object model shortcomings & bugs Pin
rseidl22-Feb-02 18:01
rseidl22-Feb-02 18:01 
GeneralRe: VC6 Macros: Object model shortcomings & bugs Pin
rseidl24-Feb-02 21:05
rseidl24-Feb-02 21:05 
GeneralReplacing one CFormView derived view with another Pin
Aaron Schaefer22-Feb-02 17:20
Aaron Schaefer22-Feb-02 17:20 
GeneralRe: Replacing one CFormView derived view with another Pin
Mazdak22-Feb-02 22:01
Mazdak22-Feb-02 22:01 
GeneralSelectObject(HBITMAP) problem. Pin
22-Feb-02 16:49
suss22-Feb-02 16:49 
GeneralRe: SelectObject(HBITMAP) problem. Pin
Paul M Watt22-Feb-02 18:21
mentorPaul M Watt22-Feb-02 18:21 
GeneralRe: SelectObject(HBITMAP) problem. Pin
23-Feb-02 12:27
suss23-Feb-02 12:27 
GeneralRe: SelectObject(HBITMAP) problem. Pin
Paul M Watt23-Feb-02 16:07
mentorPaul M Watt23-Feb-02 16:07 
GeneralProgrammatically Send a menu command Pin
Aaron Schaefer22-Feb-02 16:18
Aaron Schaefer22-Feb-02 16:18 
GeneralRe: Programmatically Send a menu command Pin
Michael Dunn22-Feb-02 16:26
sitebuilderMichael Dunn22-Feb-02 16:26 

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.