Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Edit Registry values Pin
CPallini14-Oct-08 1:38
mveCPallini14-Oct-08 1:38 
GeneralRe: Edit Registry values Pin
Rajesh R Subramanian14-Oct-08 2:49
professionalRajesh R Subramanian14-Oct-08 2:49 
GeneralRe: Edit Registry values Pin
Roger Stoltz14-Oct-08 3:01
Roger Stoltz14-Oct-08 3:01 
GeneralRe: Edit Registry values Pin
Rajesh R Subramanian14-Oct-08 3:25
professionalRajesh R Subramanian14-Oct-08 3:25 
Questionmemory allocation for class object Pin
manjunath k reddy13-Oct-08 20:33
manjunath k reddy13-Oct-08 20:33 
AnswerRe: memory allocation for class object Pin
SandipG 13-Oct-08 20:36
SandipG 13-Oct-08 20:36 
GeneralRe: memory allocation for class object Pin
manjunath k reddy13-Oct-08 20:53
manjunath k reddy13-Oct-08 20:53 
GeneralRe: memory allocation for class object Pin
Cedric Moonen13-Oct-08 21:01
Cedric Moonen13-Oct-08 21:01 
No. You didn't create any instance of the object and you try to access a NULL pointer, thus this will crash. You have to create an instance either with new or this way: MyClass a;.

Anyway, this is really the basics so before going any further, I suggest you read a good book on C++.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: memory allocation for class object Pin
Jason Hamilton14-Oct-08 4:45
Jason Hamilton14-Oct-08 4:45 
AnswerRe: memory allocation for class object Pin
Naveen13-Oct-08 20:59
Naveen13-Oct-08 20:59 
NewsRe: memory allocation for class object Pin
Roger Stoltz13-Oct-08 21:44
Roger Stoltz13-Oct-08 21:44 
GeneralRe: memory allocation for class object Pin
Naveen13-Oct-08 21:46
Naveen13-Oct-08 21:46 
AnswerRe: memory allocation for class object Pin
Roger Stoltz13-Oct-08 21:15
Roger Stoltz13-Oct-08 21:15 
AnswerRe: memory allocation for class object Pin
Hamid_RT13-Oct-08 21:22
Hamid_RT13-Oct-08 21:22 
AnswerRe: memory allocation for class object Pin
Hamid_RT13-Oct-08 21:27
Hamid_RT13-Oct-08 21:27 
AnswerRe: memory allocation for class object Pin
CPallini13-Oct-08 22:30
mveCPallini13-Oct-08 22:30 
Questionerror C2660: 'VarBstrCmp' : function does not take 4 parameters [modified] Pin
lee2313-Oct-08 19:33
lee2313-Oct-08 19:33 
AnswerRe: error C2660: 'VarBstrCmp' : function does not take 4 parameters Pin
CPallini13-Oct-08 23:17
mveCPallini13-Oct-08 23:17 
GeneralRe: error C2660: 'VarBstrCmp' : function does not take 4 parameters Pin
lee2314-Oct-08 12:27
lee2314-Oct-08 12:27 
GeneralRe: error C2660: 'VarBstrCmp' : function does not take 4 parameters Pin
CPallini14-Oct-08 22:25
mveCPallini14-Oct-08 22:25 
Questionhelp at MultiByteToWideChar Pin
monsieur_jj13-Oct-08 17:13
monsieur_jj13-Oct-08 17:13 
AnswerRe: help at MultiByteToWideChar Pin
Iain Clarke, Warrior Programmer13-Oct-08 17:39
Iain Clarke, Warrior Programmer13-Oct-08 17:39 
Questiontrouble using dll Pin
gargeug13-Oct-08 14:57
gargeug13-Oct-08 14:57 
AnswerRe: trouble using dll Pin
Mark Salsbery13-Oct-08 15:06
Mark Salsbery13-Oct-08 15:06 
QuestionRe: trouble using dll Pin
CPallini13-Oct-08 22:17
mveCPallini13-Oct-08 22:17 

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.