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

C / C++ / MFC

 
GeneralRe: Outlook Express data format Pin
Mike_Beard26-Jun-02 10:16
Mike_Beard26-Jun-02 10:16 
GeneralRe: Outlook Express data format Pin
Chris Losinger26-Jun-02 8:27
professionalChris Losinger26-Jun-02 8:27 
GeneralRe: Outlook Express data format Pin
Mike_Beard26-Jun-02 10:13
Mike_Beard26-Jun-02 10:13 
GeneralRe: Outlook Express data format Pin
Ernest Laurentin26-Jun-02 8:58
Ernest Laurentin26-Jun-02 8:58 
GeneralRe: Outlook Express data format Pin
Mike_Beard26-Jun-02 10:05
Mike_Beard26-Jun-02 10:05 
GeneralCryptic Error popup Pin
Jerry Wang26-Jun-02 7:56
Jerry Wang26-Jun-02 7:56 
GeneralRe: Cryptic Error popup Pin
Ramu Pulipati26-Jun-02 8:20
Ramu Pulipati26-Jun-02 8:20 
GeneralRe: Cryptic Error popup Pin
Jerry Wang26-Jun-02 9:25
Jerry Wang26-Jun-02 9:25 
Thanks You for your help!

Thanks to your note, I found the problem in one of my destructors. It was attempting to delete a file that does not exist.
<br />
	CFileStatus	fileStatus;<br />
	// and get file status and test if the file exists<br />
	CFile::GetStatus("temp.satdef", fileStatus);<br />
<br />
<br />
	// m_attribute	==	0xCC if does not exist<br />
	//				+	0x10 if it's a directory<br />
	//				-	0x04 if it's a system file<br />
	//				-	0x08 if it's a volume<br />
	//			===============================<br />
	//			    ==	0xD0 if it does not exist or if it's a directory<br />
<br />
	if (!(fileStatus.m_attribute & 0xD0))<br />
		CFile::Remove("temp.satdef");<br />


Apparently, somehow, my fileStatus check sometimes doesn't work all the time.
QuestionSTL ? Pin
Rage26-Jun-02 7:38
professionalRage26-Jun-02 7:38 
AnswerRe: STL ? Pin
Joaquín M López Muñoz26-Jun-02 8:33
Joaquín M López Muñoz26-Jun-02 8:33 
GeneralRe: STL ? Pin
Rage26-Jun-02 21:48
professionalRage26-Jun-02 21:48 
QuestionCan you use a template class member variable within a template class? Pin
26-Jun-02 6:56
suss26-Jun-02 6:56 
AnswerRe: Can you use a template class member variable within a template class? Pin
Chris Losinger26-Jun-02 7:04
professionalChris Losinger26-Jun-02 7:04 
GeneralRe: Can you use a template class member variable within a template class? Pin
26-Jun-02 7:05
suss26-Jun-02 7:05 
AnswerRe: Can you use a template class member variable within a template class? Pin
Joaquín M López Muñoz26-Jun-02 7:05
Joaquín M López Muñoz26-Jun-02 7:05 
GeneralRe: Can you use a template class member variable within a template class? Pin
26-Jun-02 7:06
suss26-Jun-02 7:06 
AnswerRe: Can you use a template class member variable within a template class? Pin
Brian Delahunty26-Jun-02 7:19
Brian Delahunty26-Jun-02 7:19 
GeneralSocket in non-blocking mode Pin
26-Jun-02 6:38
suss26-Jun-02 6:38 
GeneralRe: Socket in non-blocking mode Pin
Joaquín M López Muñoz26-Jun-02 7:07
Joaquín M López Muñoz26-Jun-02 7:07 
GeneralRe: Socket in non-blocking mode Pin
valikac26-Jun-02 7:09
valikac26-Jun-02 7:09 
GeneralDatabase ( table Update/Delete) Pin
26-Jun-02 6:15
suss26-Jun-02 6:15 
GeneralRe: Database ( table Update/Delete) Pin
Ramu Pulipati26-Jun-02 8:30
Ramu Pulipati26-Jun-02 8:30 
GeneralON_UPDATE_COMMAND_UI and CDialog's Pin
Sprudling26-Jun-02 6:11
Sprudling26-Jun-02 6:11 
GeneralRe: ON_UPDATE_COMMAND_UI and CDialog's Pin
udayGovekar26-Jun-02 6:42
udayGovekar26-Jun-02 6:42 
GeneralRe: ON_UPDATE_COMMAND_UI and CDialog's Pin
Ernest Laurentin26-Jun-02 8:41
Ernest Laurentin26-Jun-02 8:41 

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.