Click here to Skip to main content
15,895,870 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory Leak Pin
Aescleal21-Jul-10 22:14
Aescleal21-Jul-10 22:14 
GeneralRe: Memory Leak Pin
David Crow22-Jul-10 3:03
David Crow22-Jul-10 3:03 
QuestionCTabCtrl color background Problem [modified] Pin
etipaq21-Jul-10 5:50
etipaq21-Jul-10 5:50 
AnswerRe: CTabCtrl color background Problem Pin
Niklas L21-Jul-10 10:12
Niklas L21-Jul-10 10:12 
JokeRe: CTabCtrl color background Problem Pin
Code-o-mat21-Jul-10 10:34
Code-o-mat21-Jul-10 10:34 
GeneralRe: CTabCtrl color background Problem Pin
Niklas L21-Jul-10 10:54
Niklas L21-Jul-10 10:54 
GeneralRe: CTabCtrl color background Problem Pin
etipaq21-Jul-10 15:59
etipaq21-Jul-10 15:59 
QuestionCharacter Exception Pin
Pryabu21-Jul-10 3:54
Pryabu21-Jul-10 3:54 
Hi,

Im having a LPSTR variable.I want to copy a string to this variable. The application is getting crashed while copying this string.I want to catch this exception.I have used exception class,but its not capturing that one.Please suggest me to do this.Im using the following code.

LPSTR lpszstr;
try
{
wsprintf(lpszstr,"%s","sdfsdfsd fsdfsdfsdf");
}
catch (CException *why)
{
::MessageBox(NULL,"test123","test",MB_OK);
}

Thanks,
AnswerRe: Character Exception PinPopular
Aescleal21-Jul-10 4:15
Aescleal21-Jul-10 4:15 
AnswerRe: Character Exception Pin
Sauro Viti21-Jul-10 4:35
professionalSauro Viti21-Jul-10 4:35 
GeneralRe: Character Exception Pin
Aescleal21-Jul-10 4:55
Aescleal21-Jul-10 4:55 
GeneralRe: Character Exception Pin
Richard MacCutchan21-Jul-10 5:19
mveRichard MacCutchan21-Jul-10 5:19 
AnswerRe: Character Exception Pin
Chris Losinger21-Jul-10 4:36
professionalChris Losinger21-Jul-10 4:36 
AnswerRe: Character Exception Pin
Cool_Dev21-Jul-10 4:38
Cool_Dev21-Jul-10 4:38 
Question关于32/64位操作系统下,应用程序兼容性问题 Pin
xjh_sz20-Jul-10 23:38
xjh_sz20-Jul-10 23:38 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 PinPopular
Richard MacCutchan21-Jul-10 0:13
mveRichard MacCutchan21-Jul-10 0:13 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Sauro Viti21-Jul-10 1:00
professionalSauro Viti21-Jul-10 1:00 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Luc Pattyn21-Jul-10 14:41
sitebuilderLuc Pattyn21-Jul-10 14:41 
QuestionRe: About 32/64 bit operating system, application compatibility issues Pin
David Crow21-Jul-10 3:09
David Crow21-Jul-10 3:09 
JokeRe: About 32/64 bit operating system, application compatibility issues Pin
Yusuf21-Jul-10 7:08
Yusuf21-Jul-10 7:08 
AnswerRe: About 32/64 bit operating system, application compatibility issues Pin
David Crow21-Jul-10 7:41
David Crow21-Jul-10 7:41 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 [modified] Pin
sunlin721-Jul-10 3:13
sunlin721-Jul-10 3:13 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Randor 21-Jul-10 14:03
professional Randor 21-Jul-10 14:03 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
xjh_sz21-Jul-10 14:59
xjh_sz21-Jul-10 14:59 
QuestionDeleting all columns in CListCtrl Pin
kishorekumar146 20-Jul-10 23:21
kishorekumar146 20-Jul-10 23:21 

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.