Click here to Skip to main content
15,884,425 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Set C as default in VS2008? Pin
CPallini8-Jul-10 6:30
mveCPallini8-Jul-10 6:30 
AnswerRe: Set C as default in VS2008? Pin
Aescleal8-Jul-10 20:25
Aescleal8-Jul-10 20:25 
QuestionShellExecuteEx path question. [modified] (fixed) Pin
Maximilien8-Jul-10 5:11
Maximilien8-Jul-10 5:11 
GeneralRe: ShellExecuteEx path question. Pin
David Crow8-Jul-10 5:37
David Crow8-Jul-10 5:37 
QuestionMS ActiveX Browser Popup Problem Pin
od@ananzi.co.za8-Jul-10 5:09
od@ananzi.co.za8-Jul-10 5:09 
QuestionPointer Corruption on accessing a class member variable Pin
apphia_j_798-Jul-10 4:29
apphia_j_798-Jul-10 4:29 
QuestionRe: Pointer Corruption on accessing a class member variable Pin
David Crow8-Jul-10 4:34
David Crow8-Jul-10 4:34 
AnswerRe: Pointer Corruption on accessing a class member variable Pin
Aescleal8-Jul-10 4:49
Aescleal8-Jul-10 4:49 
Does the instance of User you call Get_proc() on exist after the call to Get_proc()?

If you do something like:

user_m *grab_user_m()
{
    User u;
    return u.Get_proc();
}


then you're on a one way trip to stack overwrite city. From your symptoms this would be the first thing I'd look for.

Just remember: NEVER return pointers or references to lumps of data internal to a class - it'll all end in tears unless you're very careful.

Cheers,

Ash
QuestionOLEDB Accessor mapping of 'bit' datatype Pin
Spawn@Melmac8-Jul-10 4:10
Spawn@Melmac8-Jul-10 4:10 
AnswerRe: OLEDB Accessor mapping of 'bit' datatype Pin
Code-o-mat8-Jul-10 6:06
Code-o-mat8-Jul-10 6:06 
AnswerRe: OLEDB Accessor mapping of 'bit' datatype Pin
Spawn@Melmac8-Jul-10 6:52
Spawn@Melmac8-Jul-10 6:52 
QuestionSystem Uptime Pin
sonualex8-Jul-10 3:36
sonualex8-Jul-10 3:36 
AnswerRe: System Uptime Pin
Code-o-mat8-Jul-10 3:52
Code-o-mat8-Jul-10 3:52 
GeneralRe: System Uptime Pin
sonualex8-Jul-10 23:20
sonualex8-Jul-10 23:20 
GeneralRe: System Uptime Pin
Code-o-mat8-Jul-10 23:29
Code-o-mat8-Jul-10 23:29 
GeneralRe: System Uptime Pin
sonualex9-Jul-10 1:43
sonualex9-Jul-10 1:43 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 1:53
Code-o-mat9-Jul-10 1:53 
AnswerRe: System Uptime Pin
David Crow9-Jul-10 3:20
David Crow9-Jul-10 3:20 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 3:23
Code-o-mat9-Jul-10 3:23 
GeneralRe: System Uptime Pin
David Crow9-Jul-10 3:25
David Crow9-Jul-10 3:25 
QuestionMouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 2:52
AbhiHcl8-Jul-10 2:52 
AnswerRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 3:40
Code-o-mat8-Jul-10 3:40 
GeneralRe: MouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 19:59
AbhiHcl8-Jul-10 19:59 
GeneralRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 21:34
Code-o-mat8-Jul-10 21:34 
Questionmalloc limitations Pin
rupeshkp7288-Jul-10 2:25
rupeshkp7288-Jul-10 2:25 

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.