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

C / C++ / MFC

 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard20-Jan-13 21:51
Anthony Appleyard20-Jan-13 21:51 
GeneralRe: Inability to edit .rc files Pin
«_Superman_»20-Jan-13 22:04
professional«_Superman_»20-Jan-13 22:04 
AnswerRe: Inability to edit .rc files Pin
Richard MacCutchan20-Jan-13 22:11
mveRichard MacCutchan20-Jan-13 22:11 
AnswerRe: Inability to edit .rc files Pin
CPallini20-Jan-13 22:34
mveCPallini20-Jan-13 22:34 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard20-Jan-13 22:51
Anthony Appleyard20-Jan-13 22:51 
GeneralRe: Inability to edit .rc files Pin
CPallini20-Jan-13 23:04
mveCPallini20-Jan-13 23:04 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard21-Jan-13 0:00
Anthony Appleyard21-Jan-13 0:00 
GeneralRe: Inability to edit .rc files Pin
Richard MacCutchan21-Jan-13 0:06
mveRichard MacCutchan21-Jan-13 0:06 
GeneralRe: Inability to edit .rc files Pin
CPallini21-Jan-13 0:14
mveCPallini21-Jan-13 0:14 
GeneralRe: Inability to edit .rc files Pin
Joe Woodbury22-Jan-13 9:20
professionalJoe Woodbury22-Jan-13 9:20 
GeneralRe: Inability to edit .rc files Pin
CPallini22-Jan-13 9:41
mveCPallini22-Jan-13 9:41 
AnswerRe: Inability to edit .rc files Pin
Shaheed Legion26-Feb-13 6:02
Shaheed Legion26-Feb-13 6:02 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard26-Feb-13 6:39
Anthony Appleyard26-Feb-13 6:39 
QuestionUser privileges stopping a program from rename(,)'ing files Pin
Anthony Appleyard20-Jan-13 18:51
Anthony Appleyard20-Jan-13 18:51 
AnswerRe: User privileges stopping a program from rename(,)'ing files Pin
Super Lloyd20-Jan-13 19:52
Super Lloyd20-Jan-13 19:52 
GeneralBUG FOUND Pin
Anthony Appleyard21-Jan-13 0:03
Anthony Appleyard21-Jan-13 0:03 
GeneralRe: BUG FOUND Pin
Super Lloyd21-Jan-13 0:57
Super Lloyd21-Jan-13 0:57 
QuestionA pointer reference as l-value Pin
George Nistor20-Jan-13 2:07
George Nistor20-Jan-13 2:07 
AnswerRe: A pointer reference as l-value Pin
Maximilien20-Jan-13 3:18
Maximilien20-Jan-13 3:18 
AnswerRe: A pointer reference as l-value Pin
Richard MacCutchan20-Jan-13 3:56
mveRichard MacCutchan20-Jan-13 3:56 
GeneralRe: A pointer reference as l-value Pin
George Nistor20-Jan-13 4:02
George Nistor20-Jan-13 4:02 
GeneralRe: A pointer reference as l-value Pin
Richard MacCutchan20-Jan-13 4:11
mveRichard MacCutchan20-Jan-13 4:11 
GeneralRe: A pointer reference as l-value Pin
Freak3021-Jan-13 4:43
Freak3021-Jan-13 4:43 
GeneralRe: A pointer reference as l-value Pin
George Nistor21-Jan-13 5:37
George Nistor21-Jan-13 5:37 
GeneralRe: A pointer reference as l-value Pin
Freak3021-Jan-13 22:08
Freak3021-Jan-13 22:08 
In the function GetPtrEx2() the address of the parameter will be passed on the stack. So with the assignment you change the address the pointer you called the function with points to.

You should however check your constructor. I don't think it will work as intended.

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.