Click here to Skip to main content
15,906,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual C++ . NET [ 2003] & Express 2005? Pin
thierrypp16-Mar-06 4:49
thierrypp16-Mar-06 4:49 
AnswerRe: Visual C++ . NET [ 2003] & Express 2005? Pin
John L. DeVito16-Mar-06 8:44
professionalJohn L. DeVito16-Mar-06 8:44 
GeneralRe: Visual C++ . NET [ 2003] & Express 2005? Pin
thierrypp16-Mar-06 8:52
thierrypp16-Mar-06 8:52 
Questiontype casting function pointers Pin
Martijn van Kleef16-Mar-06 4:01
Martijn van Kleef16-Mar-06 4:01 
AnswerRe: type casting function pointers Pin
toxcct16-Mar-06 4:07
toxcct16-Mar-06 4:07 
GeneralRe: type casting function pointers Pin
Martijn van Kleef16-Mar-06 5:02
Martijn van Kleef16-Mar-06 5:02 
GeneralRe: type casting function pointers Pin
Michael Dunn16-Mar-06 5:19
sitebuilderMichael Dunn16-Mar-06 5:19 
AnswerRe: type casting function pointers Pin
mzdude16-Mar-06 5:04
mzdude16-Mar-06 5:04 
For non class functions, the compiler knows exactly where the function resides.

For class members it doesn't.

class base {
public: virtual void fn() {}
};

class derrived {
public: virtual void fn() {}
};

base *p = new derrived;
DWORD dw = (DWORD)p->fn; // which fn??
GeneralRe: type casting function pointers Pin
toxcct16-Mar-06 5:13
toxcct16-Mar-06 5:13 
AnswerRe: type casting function pointers Pin
Dan McCormick16-Mar-06 5:21
Dan McCormick16-Mar-06 5:21 
GeneralRe: type casting function pointers Pin
Martijn van Kleef16-Mar-06 21:59
Martijn van Kleef16-Mar-06 21:59 
GeneralRe: type casting function pointers Pin
Dan McCormick17-Mar-06 1:34
Dan McCormick17-Mar-06 1:34 
Questionhow to create a virtual serial port, and to monitor it Pin
szilics16-Mar-06 2:35
szilics16-Mar-06 2:35 
AnswerRe: how to create a virtual serial port, and to monitor it Pin
Chris Gao16-Mar-06 9:21
Chris Gao16-Mar-06 9:21 
QuestionPrinting without a printer Pin
Waldermort16-Mar-06 2:33
Waldermort16-Mar-06 2:33 
AnswerRe: Printing without a printer Pin
Jack Puppy16-Mar-06 2:49
Jack Puppy16-Mar-06 2:49 
GeneralRe: Printing without a printer Pin
Waldermort16-Mar-06 3:12
Waldermort16-Mar-06 3:12 
AnswerRe: Printing without a printer Pin
Ryan Binns16-Mar-06 17:24
Ryan Binns16-Mar-06 17:24 
QuestionCreateProcess Method Pin
Subramaniam s.V.16-Mar-06 2:04
Subramaniam s.V.16-Mar-06 2:04 
AnswerRe: CreateProcess Method Pin
Hamid_RT16-Mar-06 2:11
Hamid_RT16-Mar-06 2:11 
GeneralRe: CreateProcess Method Pin
SilentSilent16-Mar-06 3:16
SilentSilent16-Mar-06 3:16 
AnswerRe: CreateProcess Method Pin
Michael Dunn16-Mar-06 5:15
sitebuilderMichael Dunn16-Mar-06 5:15 
AnswerRe: CreateProcess Method Pin
Chris Gao16-Mar-06 9:26
Chris Gao16-Mar-06 9:26 
AnswerRe: CreateProcess Method Pin
Stephen Hewitt16-Mar-06 12:04
Stephen Hewitt16-Mar-06 12:04 
GeneralRe: CreateProcess Method Pin
Chris Gao16-Mar-06 15:34
Chris Gao16-Mar-06 15:34 

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.