Click here to Skip to main content
16,010,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: First Win32 Program Pin
Blake Miller10-Feb-05 4:07
Blake Miller10-Feb-05 4:07 
GeneralRe: First Win32 Program Pin
Ryan Binns10-Feb-05 12:42
Ryan Binns10-Feb-05 12:42 
GeneralRe: First Win32 Program Pin
Blake Miller11-Feb-05 4:02
Blake Miller11-Feb-05 4:02 
GeneralRe: First Win32 Program Pin
Ryan Binns11-Feb-05 13:22
Ryan Binns11-Feb-05 13:22 
GeneralRe: First Win32 Program Pin
David Crow10-Feb-05 9:32
David Crow10-Feb-05 9:32 
GeneralThe 'Call' instruction Pin
Rajas P9-Feb-05 4:28
Rajas P9-Feb-05 4:28 
GeneralRe: The 'Call' instruction Pin
Antony M Kancidrowski9-Feb-05 5:29
Antony M Kancidrowski9-Feb-05 5:29 
GeneralRe: The 'Call' instruction Pin
Ryan Binns9-Feb-05 17:52
Ryan Binns9-Feb-05 17:52 
Rajas P wrote:
Could anyone help me in understanding the working of call instruction and explain the calling of proper function in the above case?

The problem is that you've dumped the object file rather than the executable. When the compiler compiles the file, it doesn't know where in memory the function is going to be located, so it generates a call instruction with a dummy address in it (in this case, 0x0000000), and generates a separate FIXUP record in the COFF object file that tells the linker to fill in the correct address when it links the object files and determines where in memory everything is going to be located. This is why the two calls are actually referencing the same address in the disassembly above - neither of them have had the actual code location inserted by the linker yet.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralSNTP server Pin
Anonymous9-Feb-05 4:10
Anonymous9-Feb-05 4:10 
GeneralRe: SNTP server Pin
markkuk9-Feb-05 12:22
markkuk9-Feb-05 12:22 
GeneralCDatabase OpenEx Error Connecting Pin
KatyLee9-Feb-05 4:04
sussKatyLee9-Feb-05 4:04 
GeneralRe: CDatabase OpenEx Error Connecting Pin
David Crow9-Feb-05 4:07
David Crow9-Feb-05 4:07 
GeneralRe: CDatabase OpenEx Error Connecting Pin
KatyLee9-Feb-05 4:48
sussKatyLee9-Feb-05 4:48 
GeneralRe: CDatabase OpenEx Error Connecting Pin
David Crow9-Feb-05 5:05
David Crow9-Feb-05 5:05 
QuestionFindText() and FindText2() functions in CHtmlView class for searching on different pages. Is it possible? Pin
bilas9-Feb-05 3:46
bilas9-Feb-05 3:46 
Questiona question for ListCtrl ? Pin
wushli9-Feb-05 2:23
wushli9-Feb-05 2:23 
AnswerRe: a question for ListCtrl ? Pin
David Crow9-Feb-05 2:26
David Crow9-Feb-05 2:26 
AnswerRe: a question for ListCtrl ? Pin
RChin9-Feb-05 5:53
RChin9-Feb-05 5:53 
AnswerRe: a question for ListCtrl ? Pin
Shog99-Feb-05 9:12
sitebuilderShog99-Feb-05 9:12 
GeneralSimplifying fractions in cpp Pin
Member 19169269-Feb-05 2:06
Member 19169269-Feb-05 2:06 
GeneralRe: Simplifying fractions in cpp Pin
Maximilien9-Feb-05 3:02
Maximilien9-Feb-05 3:02 
GeneralRe: Simplifying fractions in cpp Pin
Member 19169269-Feb-05 3:10
Member 19169269-Feb-05 3:10 
GeneralRe: Simplifying fractions in cpp Pin
David Crow9-Feb-05 4:05
David Crow9-Feb-05 4:05 
GeneralRe: Simplifying fractions in cpp Pin
namaskaaram9-Feb-05 17:11
namaskaaram9-Feb-05 17:11 
GeneralRe: Simplifying fractions in cpp Pin
namaskaaram9-Feb-05 17:15
namaskaaram9-Feb-05 17:15 

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.