Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInserting HBitmap object in CRichEditCtrl Pin
Farhat Aisha23-Jun-06 0:12
Farhat Aisha23-Jun-06 0:12 
AnswerRe: Inserting HBitmap object in CRichEditCtrl Pin
Hamid_RT23-Jun-06 0:25
Hamid_RT23-Jun-06 0:25 
QuestionProblem in WH_CBT hook [modified] Pin
Javagal Srinath23-Jun-06 0:03
Javagal Srinath23-Jun-06 0:03 
AnswerRe: Problem in WH_CBT hook Pin
ROWALI23-Jun-06 1:33
ROWALI23-Jun-06 1:33 
QuestionQuestion in basic C++ Pin
LordsAngel22-Jun-06 23:55
LordsAngel22-Jun-06 23:55 
AnswerRe: Question in basic C++ Pin
Cedric Moonen23-Jun-06 0:03
Cedric Moonen23-Jun-06 0:03 
GeneralRe: Question in basic C++ [modified] Pin
Stephen Hewitt23-Jun-06 1:05
Stephen Hewitt23-Jun-06 1:05 
GeneralRe: Question in basic C++ Pin
Emilio Garavaglia23-Jun-06 1:10
Emilio Garavaglia23-Jun-06 1:10 
Just to be more precise: the v-table is not in the object itself, but somewhere in the system.
Its leading address is in the object, and part of the object size, as the virtual base table address (if any).

What is erased is not that table itself, but the table address, hence, by invoking a virtual function, you'll try to find the address by seeking the corresponding entry considering the memory "0" to be the table.

The crash is not the function invoke, but the attempt to read an invalid memory page to detect wich function to invoke.



2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:

AnswerRe: Question in basic C++ Pin
Javagal Srinath23-Jun-06 0:16
Javagal Srinath23-Jun-06 0:16 
General[deleted] Pin
toxcct23-Jun-06 0:23
toxcct23-Jun-06 0:23 
GeneralRe: Question in basic C++ Pin
Javagal Srinath23-Jun-06 0:32
Javagal Srinath23-Jun-06 0:32 
General[Message Deleted] Pin
toxcct23-Jun-06 0:37
toxcct23-Jun-06 0:37 
GeneralRe: Question in basic C++ Pin
Javagal Srinath23-Jun-06 1:06
Javagal Srinath23-Jun-06 1:06 
GeneralRe: Question in basic C++ Pin
Stephen Hewitt23-Jun-06 1:14
Stephen Hewitt23-Jun-06 1:14 
GeneralRe: Question in basic C++ Pin
Nish Nishant23-Jun-06 4:50
sitebuilderNish Nishant23-Jun-06 4:50 
AnswerRe: Question in basic C++ Pin
Maximilien23-Jun-06 2:12
Maximilien23-Jun-06 2:12 
GeneralRe: Question in basic C++ Pin
Cedric Moonen23-Jun-06 3:01
Cedric Moonen23-Jun-06 3:01 
AnswerRe: Question in basic C++ Pin
Gary R. Wheeler23-Jun-06 14:58
Gary R. Wheeler23-Jun-06 14:58 
GeneralRe: Question in basic C++ Pin
Stephen Hewitt23-Jun-06 18:58
Stephen Hewitt23-Jun-06 18:58 
GeneralRe: Question in basic C++ Pin
Gary R. Wheeler24-Jun-06 1:04
Gary R. Wheeler24-Jun-06 1:04 
GeneralRe: Question in basic C++ Pin
Stephen Hewitt24-Jun-06 17:32
Stephen Hewitt24-Jun-06 17:32 
GeneralRe: Question in basic C++ Pin
Gary R. Wheeler25-Jun-06 1:54
Gary R. Wheeler25-Jun-06 1:54 
QuestionSending upgrades to client Pin
mohanrajh22-Jun-06 23:50
mohanrajh22-Jun-06 23:50 
AnswerRe: Sending upgrades to client Pin
Cedric Moonen22-Jun-06 23:55
Cedric Moonen22-Jun-06 23:55 
QuestionInstalling font [modified] Pin
<color>Aljechin 22-Jun-06 23:46
<color>Aljechin 22-Jun-06 23:46 

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.