Click here to Skip to main content
16,018,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionattach a doc Pin
p_30-May-07 22:10
p_30-May-07 22:10 
AnswerRe: attach a doc Pin
_AnsHUMAN_ 30-May-07 22:32
_AnsHUMAN_ 30-May-07 22:32 
QuestionRe: attach a doc Pin
David Crow31-May-07 4:58
David Crow31-May-07 4:58 
QuestionIs this called Buffre overrun Pin
vipin_nvk30-May-07 21:40
vipin_nvk30-May-07 21:40 
AnswerRe: Is this called Buffre overrun Pin
Cedric Moonen30-May-07 21:52
Cedric Moonen30-May-07 21:52 
AnswerRe: Is this called Buffre overrun Pin
Optimus Chaos30-May-07 22:01
Optimus Chaos30-May-07 22:01 
AnswerRe: Is this called Buffre overrun Pin
CPallini30-May-07 22:02
mveCPallini30-May-07 22:02 
AnswerRe: Is this called Buffre overrun Pin
Matthew Faithfull30-May-07 22:46
Matthew Faithfull30-May-07 22:46 
Just in case you were still wandering;), the reason you see the Date Time text in every uninitialised CString afterwards is that CString has a peculiar internal static member which represents the empty string. If you've overwritten this as it appears by overrunning the 0 length buffer returned from GetBuffer(0) then all CStrings which get auto initailised to this empty string will appear to contain the Date Time string.

Nothing is exactly what it seems but everything with seems can be unpicked.

QuestionCListCtrl Pin
Steve14430-May-07 21:27
Steve14430-May-07 21:27 
AnswerRe: CListCtrl Pin
Naveen30-May-07 22:09
Naveen30-May-07 22:09 
GeneralRe: CListCtrl Pin
Steve14431-May-07 12:45
Steve14431-May-07 12:45 
GeneralRe: CListCtrl Pin
Naveen31-May-07 13:58
Naveen31-May-07 13:58 
GeneralRe: CListCtrl Pin
Steve14431-May-07 14:23
Steve14431-May-07 14:23 
GeneralRe: CListCtrl Pin
Naveen31-May-07 14:27
Naveen31-May-07 14:27 
GeneralRe: CListCtrl Pin
Steve14431-May-07 14:35
Steve14431-May-07 14:35 
QuestionBluetooth programming problem Pin
followait30-May-07 21:23
followait30-May-07 21:23 
AnswerRe: Bluetooth programming problem Pin
Roger Stoltz30-May-07 22:08
Roger Stoltz30-May-07 22:08 
QuestionCDlg on active (MFC) Pin
waxie30-May-07 21:21
waxie30-May-07 21:21 
AnswerRe: CDlg on active (MFC) Pin
Roger Stoltz30-May-07 21:53
Roger Stoltz30-May-07 21:53 
GeneralRe: CDlg on active (MFC) Pin
waxie30-May-07 21:58
waxie30-May-07 21:58 
GeneralRe: CDlg on active (MFC) Pin
Roger Stoltz30-May-07 22:02
Roger Stoltz30-May-07 22:02 
GeneralRe: CDlg on active (MFC) Pin
Roger Stoltz30-May-07 23:17
Roger Stoltz30-May-07 23:17 
GeneralRe: CDlg on active (MFC) Pin
waxie30-May-07 23:23
waxie30-May-07 23:23 
GeneralRe: CDlg on active (MFC) Pin
sps-itsec4630-May-07 23:41
sps-itsec4630-May-07 23:41 
GeneralRe: CDlg on active (MFC) Pin
waxie30-May-07 23:49
waxie30-May-07 23:49 

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.