Click here to Skip to main content
15,901,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What is wrong in this strcpy()? Pin
CPallini22-Sep-08 22:04
mveCPallini22-Sep-08 22:04 
GeneralRe: What is wrong in this strcpy()? Pin
auralius manurung23-Sep-08 7:43
auralius manurung23-Sep-08 7:43 
AnswerRe: What is wrong in this strcpy()? Pin
David Crow22-Sep-08 3:05
David Crow22-Sep-08 3:05 
AnswerRe: What is wrong in this strcpy()? Pin
Member 419459322-Sep-08 8:31
Member 419459322-Sep-08 8:31 
AnswerRe: What is wrong in this strcpy()? Pin
Mahesh Kulkarni22-Sep-08 20:34
Mahesh Kulkarni22-Sep-08 20:34 
QuestionAccessing a Variable from another function. Pin
T.RATHA KRISHNAN22-Sep-08 0:19
T.RATHA KRISHNAN22-Sep-08 0:19 
AnswerRe: Accessing a Variable from another function. Pin
CPallini22-Sep-08 0:26
mveCPallini22-Sep-08 0:26 
QuestionRe: Accessing a Variable from another function. Pin
T.RATHA KRISHNAN22-Sep-08 0:46
T.RATHA KRISHNAN22-Sep-08 0:46 
Thanks for the reply. I can access the pointer Variable in side the second function(methods of the same class). But I want to access the contents of this pointer.
Consider the following code:

dtCore::RefPtr<dtCore::Object> m_Obj = new Object("Car");
m_Obj->LoadFile("demoMap/StaticMeshes/Pajero.IVE\0");


This is inside the first function. Here I've initialized the m_Obj variable to something. When I access this variable inside the second function it contains NULL value why because I've initialized it in the Constructor to NULL since it's a base member. But I 've to access what I've initalize in the first function from the second function not the one in the Constructor. How to do?
AnswerRe: Accessing a Variable from another function. Pin
CPallini22-Sep-08 1:41
mveCPallini22-Sep-08 1:41 
AnswerRe: Accessing a Variable from another function. Pin
_AnsHUMAN_ 22-Sep-08 0:27
_AnsHUMAN_ 22-Sep-08 0:27 
QuestionDifference b/w strlen(NULL) and strlen("") Pin
SRKSHOME22-Sep-08 0:18
SRKSHOME22-Sep-08 0:18 
AnswerRe: Difference b/w strlen(NULL) and strlen("") Pin
CPallini22-Sep-08 0:23
mveCPallini22-Sep-08 0:23 
AnswerRe: Difference b/w strlen(NULL) and strlen("") Pin
toxcct22-Sep-08 21:30
toxcct22-Sep-08 21:30 
Questionoption button in tree control Pin
VCProgrammer21-Sep-08 23:37
VCProgrammer21-Sep-08 23:37 
Questionhow to create and run a webserver in VC++(MFC) Pin
tns_ranjith21-Sep-08 23:32
tns_ranjith21-Sep-08 23:32 
RantRe: how to create and run a webserver in VC++(MFC) Pin
Rajesh R Subramanian22-Sep-08 0:10
professionalRajesh R Subramanian22-Sep-08 0:10 
AnswerRe: how to create and run a webserver in VC++(MFC) Pin
enhzflep22-Sep-08 0:36
enhzflep22-Sep-08 0:36 
AnswerRe: how to create and run a webserver in VC++(MFC) Pin
Mark Salsbery22-Sep-08 5:53
Mark Salsbery22-Sep-08 5:53 
QuestionSetWindowPos don't accept values Pin
baerten21-Sep-08 23:31
baerten21-Sep-08 23:31 
AnswerRe: SetWindowPos don't accept values Pin
SandipG 21-Sep-08 23:58
SandipG 21-Sep-08 23:58 
GeneralRe: SetWindowPos don't accept values Pin
baerten22-Sep-08 4:23
baerten22-Sep-08 4:23 
QuestionRe: SetWindowPos don't accept values Pin
Mark Salsbery22-Sep-08 5:37
Mark Salsbery22-Sep-08 5:37 
QuestionCopy Byte information to structure Pin
nitin321-Sep-08 23:29
nitin321-Sep-08 23:29 
AnswerRe: Copy Byte information to structure Pin
SandipG 21-Sep-08 23:50
SandipG 21-Sep-08 23:50 
AnswerRe: Copy Byte information to structure Pin
CPallini21-Sep-08 23:53
mveCPallini21-Sep-08 23:53 

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.