Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: After including #include <atlbase.h> I am getting error C2632 Pin
ptr_Electron11-Dec-15 18:52
ptr_Electron11-Dec-15 18:52 
Questionproblem in solving "C4996" error Pin
VISWESWARAN199810-Dec-15 20:48
professionalVISWESWARAN199810-Dec-15 20:48 
AnswerRe: problem in solving "C4996" error Pin
Jochen Arndt10-Dec-15 21:16
professionalJochen Arndt10-Dec-15 21:16 
PraiseRe: problem in solving "C4996" error Pin
VISWESWARAN199811-Dec-15 0:39
professionalVISWESWARAN199811-Dec-15 0:39 
AnswerRe: problem in solving "C4996" error Pin
Richard MacCutchan10-Dec-15 21:57
mveRichard MacCutchan10-Dec-15 21:57 
PraiseRe: problem in solving "C4996" error Pin
VISWESWARAN199811-Dec-15 0:40
professionalVISWESWARAN199811-Dec-15 0:40 
QuestionPassing double pointer to function Pin
elelont29-Dec-15 21:49
elelont29-Dec-15 21:49 
AnswerRe: Passing double pointer to function Pin
Richard MacCutchan9-Dec-15 22:29
mveRichard MacCutchan9-Dec-15 22:29 
elelont2 wrote:
To me they seem like the same thing.
No, they are totally different.
Case 1:
You create a pointer that will point to an integer variable, and pass its address to the function. The function then stores the address of a variable inside the pointer. On return the pointer now points to the variable, and the variable contains a value.

Case 2:
You create a pointer that will point to a pointer but is currently NULL. So when you pass it to the function the function gets a NULL value.

Simply put, in case 1, hello points to the address of pointer, in case 2, hello contains NULL. If you step through the code with your debugger it should become clear.
QuestionResize a Dialog Box (MDI-Application) Pin
Schehaider_Aymen7-Dec-15 23:05
Schehaider_Aymen7-Dec-15 23:05 
AnswerRe: Resize a Dialog Box (MDI-Application) Pin
Jochen Arndt7-Dec-15 23:29
professionalJochen Arndt7-Dec-15 23:29 
GeneralRe: Resize a Dialog Box (MDI-Application) Pin
Schehaider_Aymen9-Dec-15 2:30
Schehaider_Aymen9-Dec-15 2:30 
QuestionIssue with CFolderPickerDialog Pin
Prasanth.outofboxt7-Dec-15 18:50
Prasanth.outofboxt7-Dec-15 18:50 
AnswerRe: Issue with CFolderPickerDialog Pin
Richard MacCutchan7-Dec-15 22:15
mveRichard MacCutchan7-Dec-15 22:15 
GeneralRe: Issue with CFolderPickerDialog Pin
Prasanth.outofboxt14-Dec-15 21:39
Prasanth.outofboxt14-Dec-15 21:39 
QuestionSplitting Video Pin
savitap6-Dec-15 23:37
savitap6-Dec-15 23:37 
SuggestionRe: Splitting Video Pin
Richard MacCutchan7-Dec-15 0:33
mveRichard MacCutchan7-Dec-15 0:33 
Questionbinary trees Pin
Amr.Mohammad875-Dec-15 4:09
Amr.Mohammad875-Dec-15 4:09 
QuestionRe: binary trees Pin
CPallini5-Dec-15 4:25
mveCPallini5-Dec-15 4:25 
AnswerRe: binary trees Pin
Amr.Mohammad875-Dec-15 5:36
Amr.Mohammad875-Dec-15 5:36 
GeneralRe: binary trees Pin
CPallini5-Dec-15 10:00
mveCPallini5-Dec-15 10:00 
GeneralRe: binary trees Pin
Amr.Mohammad876-Dec-15 0:49
Amr.Mohammad876-Dec-15 0:49 
GeneralRe: binary trees Pin
Amr.Mohammad876-Dec-15 0:49
Amr.Mohammad876-Dec-15 0:49 
GeneralRe: binary trees Pin
CPallini6-Dec-15 3:47
mveCPallini6-Dec-15 3:47 
GeneralRe: binary trees Pin
Amr.Mohammad8724-Dec-15 20:14
Amr.Mohammad8724-Dec-15 20:14 
GeneralRe: binary trees Pin
CPallini25-Dec-15 8:43
mveCPallini25-Dec-15 8:43 

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.