Click here to Skip to main content
15,921,250 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using VS2005 DLL with VC6 program Pin
Mike Dimmick26-Jul-06 3:33
Mike Dimmick26-Jul-06 3:33 
QuestionWhy it fails? Pin
Sarath C26-Jul-06 0:40
Sarath C26-Jul-06 0:40 
AnswerRe: Why it fails? Pin
Stephen Hewitt26-Jul-06 0:44
Stephen Hewitt26-Jul-06 0:44 
AnswerRe: Why it fails? Pin
David Crow26-Jul-06 3:04
David Crow26-Jul-06 3:04 
GeneralRe: Why it fails? Pin
Zac Howland26-Jul-06 4:21
Zac Howland26-Jul-06 4:21 
GeneralRe: Why it fails? Pin
Saravanan Sundaresan27-Jul-06 2:16
professionalSaravanan Sundaresan27-Jul-06 2:16 
GeneralRe: Why it fails? Pin
David Crow27-Jul-06 3:01
David Crow27-Jul-06 3:01 
GeneralRe: Why it fails? Pin
Zac Howland28-Jul-06 3:51
Zac Howland28-Jul-06 3:51 
Adding NULL to p[12] would still cause a segmentation fault (aka crash). Since the array was not declared with any bounds, it defaults to the size of the initailized string (which is 6 for "hello"). Any character that is written past that size is overwriting something in memory that may or may not be important. If it overwrites, for example, the next instruction on the stack ... you get the idea. The point is, you should always declare arrays with a size.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

QuestionUnmanaged C++, windows service Pin
yoti1126-Jul-06 0:34
yoti1126-Jul-06 0:34 
AnswerRe: Unmanaged C++, windows service Pin
led mike26-Jul-06 5:49
led mike26-Jul-06 5:49 
Questionoverloading an overrided function??? Pin
sawerr26-Jul-06 0:25
sawerr26-Jul-06 0:25 
AnswerRe: overloading an overrided function??? Pin
Mike Dimmick26-Jul-06 3:40
Mike Dimmick26-Jul-06 3:40 
AnswerRe: overloading an overrided function??? Pin
Zac Howland26-Jul-06 4:33
Zac Howland26-Jul-06 4:33 
QuestionHow to access function in different classes Pin
jadhav12326-Jul-06 0:22
jadhav12326-Jul-06 0:22 
AnswerRe: How to access function in different classes Pin
see me26-Jul-06 0:29
see me26-Jul-06 0:29 
GeneralRe: How to access function in different classes Pin
jadhav12326-Jul-06 1:09
jadhav12326-Jul-06 1:09 
AnswerRe: How to access function in different classes Pin
Hamid_RT26-Jul-06 1:25
Hamid_RT26-Jul-06 1:25 
GeneralRe: How to access function in different classes Pin
jadhav12326-Jul-06 1:58
jadhav12326-Jul-06 1:58 
GeneralRe: How to access function in different classes Pin
Hamid_RT26-Jul-06 2:30
Hamid_RT26-Jul-06 2:30 
QuestionHow can I add a button on title bar of a window which is create by other process Pin
Hemant kulkarni25-Jul-06 22:40
Hemant kulkarni25-Jul-06 22:40 
AnswerRe: How can I add a button on title bar of a window which is create by other process Pin
NiceNaidu25-Jul-06 23:16
NiceNaidu25-Jul-06 23:16 
AnswerRe: How can I add a button on title bar of a window which is create by other process [modified] Pin
see me25-Jul-06 23:24
see me25-Jul-06 23:24 
Questiondisplay text transparently by DC Pin
includeh1025-Jul-06 22:31
includeh1025-Jul-06 22:31 
AnswerRe: display text transparently by DC Pin
Arman S.25-Jul-06 22:50
Arman S.25-Jul-06 22:50 
GeneralRe: display text transparently by DC Pin
includeh1026-Jul-06 0:30
includeh1026-Jul-06 0:30 

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.