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

C / C++ / MFC

 
GeneralRe: Stack overload problem /F dosent, debug wont enter main function, VS6 Pin
Anonymous25-Aug-03 2:44
Anonymous25-Aug-03 2:44 
GeneralRe: Stack overload problem /F dosent, debug wont enter main function, VS6 Pin
Joel Lucsy25-Aug-03 4:40
Joel Lucsy25-Aug-03 4:40 
GeneralProblem with CD RW files Pin
Still learning how to code25-Aug-03 1:29
Still learning how to code25-Aug-03 1:29 
GeneralSwitching Desktop: Pointer Problem Pin
mike :D25-Aug-03 0:38
mike :D25-Aug-03 0:38 
GeneralStrange Application Error. Help experts!! Pin
rohit.dhamija25-Aug-03 0:36
rohit.dhamija25-Aug-03 0:36 
GeneralRe: Strange Application Error. Help experts!! Pin
Taka Muraoka25-Aug-03 1:02
Taka Muraoka25-Aug-03 1:02 
GeneralRe: Strange Application Error. Help experts!! Pin
rohit.dhamija25-Aug-03 2:05
rohit.dhamija25-Aug-03 2:05 
GeneralRe: Strange Application Error. Help experts!! Pin
Taka Muraoka25-Aug-03 2:09
Taka Muraoka25-Aug-03 2:09 
Buffer overruns are the most common cause. Look at the following code:

char* p = "hello world!" ; 
char buf[5] ; 
strcpy( buf , p ) ; 


The string you are copying is too big for the buffer and strcpy() will just blindly copy past the end of the buffer, blowing away anything that was there.

The other possibility is you are writing through an invalid pointer that is occasionally pointing into the stack.




"Sucks less" isn't progress - Kent Beck [^]

Awasu 1.1.1 [^]: A free RSS reader with support for Code Project.

GeneralRe: Strange Application Error. Help experts!! Pin
rohit.dhamija25-Aug-03 2:20
rohit.dhamija25-Aug-03 2:20 
GeneralRe: Strange Application Error. Help experts!! Pin
Taka Muraoka25-Aug-03 2:35
Taka Muraoka25-Aug-03 2:35 
GeneralRe: Strange Application Error. Help experts!! Pin
rohit.dhamija25-Aug-03 2:54
rohit.dhamija25-Aug-03 2:54 
GeneralRe: Strange Application Error. Help experts!! Pin
Ravi Bhavnani25-Aug-03 3:47
professionalRavi Bhavnani25-Aug-03 3:47 
GeneralRe: Strange Application Error. Help experts!! Pin
rohit.dhamija25-Aug-03 18:20
rohit.dhamija25-Aug-03 18:20 
GeneralSending messages through school networks. Pin
Sailboards25-Aug-03 0:26
Sailboards25-Aug-03 0:26 
GeneralRe: Sending messages through school networks. Pin
Fredrik Skog25-Aug-03 0:31
Fredrik Skog25-Aug-03 0:31 
GeneralRe: Sending messages through school networks. Pin
Sailboards25-Aug-03 21:23
Sailboards25-Aug-03 21:23 
GeneralRe: Sending messages through school networks. Pin
Fredrik Skog25-Aug-03 21:37
Fredrik Skog25-Aug-03 21:37 
GeneralSave HICON to a file Pin
Member 50856725-Aug-03 0:21
Member 50856725-Aug-03 0:21 
GeneralRe: Save HICON to a file Pin
KaЯl25-Aug-03 2:35
KaЯl25-Aug-03 2:35 
GeneralAccess Disk Sector for non-admin user Pin
khehwan25-Aug-03 0:07
khehwan25-Aug-03 0:07 
GeneralRe: Access Disk Sector for non-admin user Pin
Member 42425925-Aug-03 3:07
Member 42425925-Aug-03 3:07 
GeneralRe: Access Disk Sector for non-admin user Pin
khehwan25-Aug-03 15:26
khehwan25-Aug-03 15:26 
Questionhow to list in order? Pin
coda_x24-Aug-03 23:53
coda_x24-Aug-03 23:53 
AnswerRe: how to list in order? Pin
Fredrik Skog25-Aug-03 0:17
Fredrik Skog25-Aug-03 0:17 
GeneralRe: how to list in order? Pin
coda_x25-Aug-03 0:23
coda_x25-Aug-03 0:23 

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.