Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Issue in porting code from VS6.0 to VS2008 Pin
Stuart Dootson18-Sep-09 1:55
professionalStuart Dootson18-Sep-09 1:55 
GeneralRe: Issue in porting code from VS6.0 to VS2008 Pin
Nandu_77b18-Sep-09 4:37
Nandu_77b18-Sep-09 4:37 
GeneralRe: Issue in porting code from VS6.0 to VS2008 Pin
Stuart Dootson18-Sep-09 4:44
professionalStuart Dootson18-Sep-09 4:44 
Questionsize of class Pin
hrishiS17-Sep-09 23:27
hrishiS17-Sep-09 23:27 
AnswerRe: size of class Pin
«_Superman_»17-Sep-09 23:54
professional«_Superman_»17-Sep-09 23:54 
GeneralRe: size of class Pin
hrishiS18-Sep-09 0:15
hrishiS18-Sep-09 0:15 
GeneralRe: size of class Pin
CPallini18-Sep-09 0:20
mveCPallini18-Sep-09 0:20 
GeneralRe: size of class Pin
«_Superman_»18-Sep-09 0:36
professional«_Superman_»18-Sep-09 0:36 
No, the class does not reside anywhere.
It is only used by the compiler to create an object.
All class data members are referenced using offsets from the begining.
All class methods are actually global functions.
The functions get the address of the object through the ECX register (at least when compiled with Visual Studio). Or this could be passed in as a hidden first parameter.
To locate the data members, this object address is then added to the offsets.

When you do a new MyClass; what happens internally is malloc(sizeof(MyClass));

If you simply create a class and don't use it, it will never have a life.

«_Superman
I love work. It gives me something to do between weekends.

AnswerRe: size of class Pin
santhosh-padamatinti18-Sep-09 0:25
santhosh-padamatinti18-Sep-09 0:25 
QuestionVC8 source code editor Pin
uli200017-Sep-09 22:56
uli200017-Sep-09 22:56 
AnswerRe: VC8 source code editor Pin
Naveen17-Sep-09 22:59
Naveen17-Sep-09 22:59 
Questionbeginner question Pin
Game-point17-Sep-09 22:44
Game-point17-Sep-09 22:44 
AnswerRe: beginner question Pin
CPallini17-Sep-09 22:48
mveCPallini17-Sep-09 22:48 
AnswerRe: beginner question Pin
Rajesh R Subramanian17-Sep-09 22:55
professionalRajesh R Subramanian17-Sep-09 22:55 
AnswerRe: beginner question Pin
«_Superman_»17-Sep-09 23:57
professional«_Superman_»17-Sep-09 23:57 
AnswerRe: beginner question Pin
santhosh-padamatinti18-Sep-09 0:36
santhosh-padamatinti18-Sep-09 0:36 
AnswerRe: beginner question Pin
Anil Kumar.Arvapalli18-Sep-09 1:40
Anil Kumar.Arvapalli18-Sep-09 1:40 
Questionhow to read/write long long ... integer from database? Pin
includeh1017-Sep-09 21:39
includeh1017-Sep-09 21:39 
AnswerRe: how to read/write long long ... integer from database? Pin
KarstenK17-Sep-09 21:47
mveKarstenK17-Sep-09 21:47 
AnswerRe: how to read/write long long ... integer from database? [modified] Pin
Saurabh.Garg17-Sep-09 23:31
Saurabh.Garg17-Sep-09 23:31 
Questionpure virtual functions [modified] Pin
hrishiS17-Sep-09 20:36
hrishiS17-Sep-09 20:36 
AnswerRe: pure virtual functions Pin
CPallini17-Sep-09 20:40
mveCPallini17-Sep-09 20:40 
GeneralRe: pure virtual functions Pin
hrishiS17-Sep-09 20:46
hrishiS17-Sep-09 20:46 
GeneralRe: pure virtual functions Pin
Stuart Dootson17-Sep-09 20:58
professionalStuart Dootson17-Sep-09 20:58 
GeneralRe: pure virtual functions Pin
hrishiS17-Sep-09 21:23
hrishiS17-Sep-09 21:23 

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.