Click here to Skip to main content
15,886,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Timers in Windows Pin
Chandrasekharan P11-May-09 2:04
Chandrasekharan P11-May-09 2:04 
GeneralRe: Timers in Windows Pin
Mohammadj11-May-09 2:12
Mohammadj11-May-09 2:12 
GeneralRe: Timers in Windows Pin
Chandrasekharan P11-May-09 2:14
Chandrasekharan P11-May-09 2:14 
Questionsegmentation fault- gdb output : at 0x00ac315a meaning?? Pin
shrims4u10-May-09 19:51
shrims4u10-May-09 19:51 
AnswerRe: segmentation fault- gdb output : at 0x00ac315a meaning?? Pin
Cedric Moonen10-May-09 20:20
Cedric Moonen10-May-09 20:20 
GeneralRe: segmentation fault- gdb output : at 0x00ac315a meaning?? Pin
shrims4u11-May-09 16:53
shrims4u11-May-09 16:53 
GeneralRe: segmentation fault- gdb output : at 0x00ac315a meaning?? Pin
Cedric Moonen11-May-09 20:07
Cedric Moonen11-May-09 20:07 
QuestionGetting a crash when using the below code. Pin
V K 210-May-09 19:36
V K 210-May-09 19:36 
I am using the below tool tip code for showing a tooltip when mouse is moved over a row in CListBox.

Row in CListBox has a file name, I am showing the path of the file as a tool tip.

m_ExistingMap.Lookup(strText,strTipText);
int nLen = strTipText.GetLength(); // nLen is 120 characters
#ifndef _UNICODE
if (pNMHDR->code == TTN_NEEDTEXTA)
lstrcpyn(pTTTA->szText, strTipText, nLen+1 );
else
_mbstowcsz(pTTTW->szText, strTipText, nLen+1 );
#else
if (pNMHDR->code == TTN_NEEDTEXTA)
_wcstombsz(pTTTA->szText, strTipText, nLen+1 );
else
lstrcpyn(pTTTW->szText, strTipText, nLen+1 );
#endif


I am not observing a crash when nLen =80
AnswerRe: Getting a crash when using the below code. Pin
Code-o-mat10-May-09 22:25
Code-o-mat10-May-09 22:25 
QuestionRe: Getting a crash when using the below code. Pin
David Crow11-May-09 3:36
David Crow11-May-09 3:36 
Questionconvert tiff to pdf using pdflib ? Pin
aa_zz10-May-09 17:35
aa_zz10-May-09 17:35 
AnswerRe: convert tiff to pdf using pdflib ? Pin
Stuart Dootson10-May-09 21:54
professionalStuart Dootson10-May-09 21:54 
Questionhi i need this program immediately in c++ Pin
sonuchill10-May-09 6:13
sonuchill10-May-09 6:13 
AnswerRe: hi i need this program immediately in c++ Pin
Wes Aday10-May-09 6:29
professionalWes Aday10-May-09 6:29 
AnswerRe: hi i need this program immediately in c++ Pin
David Crow10-May-09 7:05
David Crow10-May-09 7:05 
AnswerRe: hi i need this program immediately in c++ Pin
Hamid_RT10-May-09 8:31
Hamid_RT10-May-09 8:31 
GeneralRe: hi i need this program immediately in c++ Pin
Stuart Dootson10-May-09 9:28
professionalStuart Dootson10-May-09 9:28 
AnswerRe: hi i need this program immediately in c++ Pin
CPallini10-May-09 11:45
mveCPallini10-May-09 11:45 
GeneralRe: hi i need this program immediately in c++ Pin
«_Superman_»10-May-09 16:37
professional«_Superman_»10-May-09 16:37 
GeneralRe: hi i need this program immediately in c++ Pin
CPallini10-May-09 21:22
mveCPallini10-May-09 21:22 
GeneralRe: hi i need this program immediately in c++ Pin
«_Superman_»10-May-09 22:11
professional«_Superman_»10-May-09 22:11 
GeneralRe: hi i need this program immediately in c++ Pin
Hamid_RT10-May-09 19:46
Hamid_RT10-May-09 19:46 
AnswerRe: hi i need this program immediately in c++ Pin
Yusuf10-May-09 16:44
Yusuf10-May-09 16:44 
JokeRe: hi i need this program immediately in c++ Pin
«_Superman_»10-May-09 17:04
professional«_Superman_»10-May-09 17:04 
Questionpointer to std::list problem! Pin
Avion859-May-09 6:03
Avion859-May-09 6:03 

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.