Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Recognise text from Bitmap Pin
Vladimir Georgiev28-Jun-04 1:00
Vladimir Georgiev28-Jun-04 1:00 
Questionhow to get list of table from ODBC Pin
Yulianto.27-Jun-04 20:36
Yulianto.27-Jun-04 20:36 
AnswerRe: how to get list of table from ODBC Pin
David Crow28-Jun-04 2:57
David Crow28-Jun-04 2:57 
GeneralDisplay number on the Push Button Pin
S.DARWIN PAUL RAJ27-Jun-04 20:01
S.DARWIN PAUL RAJ27-Jun-04 20:01 
GeneralRe: Display number on the Push Button Pin
GermanGeorge1-Jul-04 2:36
GermanGeorge1-Jul-04 2:36 
GeneralAddress of member functions Pin
Yogesh Kshatriya27-Jun-04 19:07
Yogesh Kshatriya27-Jun-04 19:07 
GeneralRe: Address of member functions Pin
Michael Dunn27-Jun-04 19:41
sitebuilderMichael Dunn27-Jun-04 19:41 
GeneralRe: Address of member functions Pin
Yogesh Kshatriya27-Jun-04 20:03
Yogesh Kshatriya27-Jun-04 20:03 
As I understand, the function addresses obtained using this way are not the real addresses. They just provide an offset of a member function within an object.

#include <conio.h>
class A
{
public:
int func() { return 1; }
};

void main(){

A x;
int (A::*ptr_to_method)() = A::func;
getch();
}

If for the above program you check inside Watch window of VC++ 6.0, the values of following variables
ptr_to_method
(&x)->func

It shows different addresses. Now which one is the correct address of function "func"?
Also I was not able to capture the value of "(&x)->func" inside program.
GeneralRe: Address of member functions Pin
Yogesh Kshatriya27-Jun-04 20:10
Yogesh Kshatriya27-Jun-04 20:10 
Generaldialup modem program Pin
locoone27-Jun-04 18:05
locoone27-Jun-04 18:05 
GeneralRe: dialup modem program Pin
David Crow28-Jun-04 3:01
David Crow28-Jun-04 3:01 
QuestionHow to know whether a folder is shared or not? Pin
ngocdq27-Jun-04 15:10
ngocdq27-Jun-04 15:10 
AnswerRe: How to know whether a folder is shared or not? Pin
valikac27-Jun-04 16:18
valikac27-Jun-04 16:18 
Generalwhen import a bitmap resourse Pin
vividtang27-Jun-04 14:16
vividtang27-Jun-04 14:16 
GeneralRe: when import a bitmap resourse Pin
valikac27-Jun-04 16:19
valikac27-Jun-04 16:19 
Questionis easy transfer ODBC to ADO about database development using vc? Pin
vividtang27-Jun-04 14:07
vividtang27-Jun-04 14:07 
Questionhow to include a AVI player into my program? Pin
vividtang27-Jun-04 14:01
vividtang27-Jun-04 14:01 
AnswerRe: how to include a AVI player into my program? Pin
vividtang27-Jun-04 14:23
vividtang27-Jun-04 14:23 
GeneralVisual C++ .NET v.2002 and MDI CEditView class.. Pin
Laing,James27-Jun-04 12:12
Laing,James27-Jun-04 12:12 
GeneralRe: Visual C++ .NET v.2002 and MDI CEditView class.. Pin
gamitech27-Jun-04 13:36
gamitech27-Jun-04 13:36 
GeneralRe: Visual C++ .NET v.2002 and MDI CEditView class.. Pin
Laing,James27-Jun-04 23:54
Laing,James27-Jun-04 23:54 
Questionhow to join 2 exe-s Pin
gamitech27-Jun-04 11:30
gamitech27-Jun-04 11:30 
AnswerRe: how to join 2 exe-s Pin
User 665827-Jun-04 12:06
User 665827-Jun-04 12:06 
GeneralRe: how to join 2 exe-s Pin
gamitech27-Jun-04 12:10
gamitech27-Jun-04 12:10 
GeneralRe: how to join 2 exe-s Pin
User 58385227-Jun-04 12:28
User 58385227-Jun-04 12:28 

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.