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

C / C++ / MFC

 
GeneralRe: this sample doesnf help me! Pin
Carlos Antollini24-Jul-01 11:10
Carlos Antollini24-Jul-01 11:10 
QuestionID?? Pin
24-Jul-01 5:12
suss24-Jul-01 5:12 
AnswerRe: ID?? Pin
Christian Graus24-Jul-01 13:06
protectorChristian Graus24-Jul-01 13:06 
QuestionSerialize : How can I know if the loading from the file success ??? Pin
24-Jul-01 5:04
suss24-Jul-01 5:04 
AnswerRe: Serialize : How can I know if the loading from the file success ??? Pin
CMFC6.0VS.NETUser24-Jul-01 5:20
CMFC6.0VS.NETUser24-Jul-01 5:20 
GeneralI think you dont understand me. Pin
24-Jul-01 10:23
suss24-Jul-01 10:23 
GeneralRe: I think you dont understand me. Pin
CMFC6.0VS.NETUser27-Jul-01 6:10
CMFC6.0VS.NETUser27-Jul-01 6:10 
GeneralRe: I think you dont understand me. Pin
Matt Gullett27-Jul-01 6:30
Matt Gullett27-Jul-01 6:30 
CArchive will throw an exception if it encounters a probloem while loading or saving the file. This includes if it encounters an unexpected end of file.

(code assumes fp is a CFile object already opened.)

try
{
CArchive ar(&fp, CArchive::load);

// serialize objects here

ar.Close();
}
catch(CArchiveException* pArError)
{
// an error occured
pArError->Delete();
}
catch(CException* pError)
{
// an error occured
pError->Delete();
}
catch(...)
{
// an error occured
}
GeneralHow can you brush your text in yellow ?? Pin
24-Jul-01 10:25
suss24-Jul-01 10:25 
GeneralRe: How can you brush your text in yellow ?? Pin
Carlos Antollini27-Jul-01 6:26
Carlos Antollini27-Jul-01 6:26 
GeneralRe: How can you brush your text in yellow ?? Pin
CMFC6.0VS.NETUser27-Jul-01 6:27
CMFC6.0VS.NETUser27-Jul-01 6:27 
GeneralFilling an HBITMAP with an HICON Pin
24-Jul-01 4:40
suss24-Jul-01 4:40 
GeneralRe: Filling an HBITMAP with an HICON Pin
Tomasz Sowinski24-Jul-01 5:03
Tomasz Sowinski24-Jul-01 5:03 
Generalbit data types Pin
Johnny Starr24-Jul-01 4:28
Johnny Starr24-Jul-01 4:28 
GeneralRe: bit data types Pin
Tomasz Sowinski24-Jul-01 4:34
Tomasz Sowinski24-Jul-01 4:34 
GeneralRe: bit data types Pin
Johnny Starr24-Jul-01 4:35
Johnny Starr24-Jul-01 4:35 
GeneralCButton Text Color change Pin
Gerry24-Jul-01 3:53
Gerry24-Jul-01 3:53 
Generala quastion Pin
24-Jul-01 3:45
suss24-Jul-01 3:45 
GeneralRe: a quastion Pin
Tomasz Sowinski24-Jul-01 3:52
Tomasz Sowinski24-Jul-01 3:52 
GeneralMaking A CFont Go Bold Pin
AJ12324-Jul-01 3:26
AJ12324-Jul-01 3:26 
GeneralRe: Making A CFont Go Bold Pin
Tomasz Sowinski24-Jul-01 3:40
Tomasz Sowinski24-Jul-01 3:40 
GeneralRe: Making A CFont Go Bold Pin
AJ12324-Jul-01 6:00
AJ12324-Jul-01 6:00 
GeneralRe: Making A CFont Go Bold Pin
fantastic_mr_fox24-Jul-01 6:26
fantastic_mr_fox24-Jul-01 6:26 
GeneralSQLConfigDataSource() & string problem Pin
Derek Price24-Jul-01 3:11
Derek Price24-Jul-01 3:11 
GeneralRe: SQLConfigDataSource() & string problem Pin
Michael Dunn24-Jul-01 3:22
sitebuilderMichael Dunn24-Jul-01 3:22 

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.