Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Signing C++ project for Vista Pin
Michael Dunn10-Jan-07 8:33
sitebuilderMichael Dunn10-Jan-07 8:33 
QuestionSaving new files with CFileDialog? Pin
bosfan10-Jan-07 1:08
bosfan10-Jan-07 1:08 
AnswerRe: Saving new files with CFileDialog? Pin
prasad_som10-Jan-07 1:47
prasad_som10-Jan-07 1:47 
GeneralRe: Saving new files with CFileDialog? Pin
bosfan10-Jan-07 2:07
bosfan10-Jan-07 2:07 
Questioncan we use char datatype in unicode Pin
Atul2310-Jan-07 0:03
Atul2310-Jan-07 0:03 
AnswerRe: can we use char datatype in unicode Pin
Monty210-Jan-07 1:25
Monty210-Jan-07 1:25 
AnswerRe: can we use char datatype in unicode Pin
David Crow10-Jan-07 2:55
David Crow10-Jan-07 2:55 
QuestionError after closing application Pin
Kiran Pinjala9-Jan-07 23:26
Kiran Pinjala9-Jan-07 23:26 
This is a problem which i have been facing for a long time.
Now i found a new thing in it (a step ahead) that i am getting an error below....
BOOL CWnd::DestroyWindow()
{
 if (m_hWnd == NULL)
   return FALSE;

 CHandleMap* pMap = afxMapHWND();
 ASSERT(pMap != NULL);
 CWnd* pWnd = (CWnd*)pMap->LookupPermanent(m_hWnd);
#ifdef _DEBUG
 HWND hWndOrig = m_hWnd;
#endif

#ifdef _AFX_NO_OCC_SUPPORT
 BOOL bResult = ::DestroyWindow(m_hWnd);
#else //_AFX_NO_OCC_SUPPORT
 BOOL bResult;
 if (m_pCtrlSite == NULL)
  bResult = ::DestroyWindow(m_hWnd);
 else
  bResult = m_pCtrlSite->DestroyControl();
#endif //_AFX_NO_OCC_SUPPORT
	
 // Note that 'this' may have been deleted at this point,
 //  (but only if pWnd != NULL)
 if (pWnd != NULL)
 {
  // Should have been detached by OnNcDestroy
#ifdef _DEBUG
  ASSERT(pMap->LookupPermanent(hWndOrig) == NULL);// <big>HERE IT FAILED</big>
#endif
 }
 else
 {
#ifdef _DEBUG
  ASSERT(m_hWnd == hWndOrig);
#endif
  // Detach after DestroyWindow called just in case
  Detach();
 }
 return bResult;
}


What does it mean and What i have to do?

KIRAN PINJARLA

QuestionRe: Error after closing application [modified] Pin
Kiran Pinjala9-Jan-07 23:48
Kiran Pinjala9-Jan-07 23:48 
AnswerRe: Error after closing application Pin
kakan9-Jan-07 23:56
professionalkakan9-Jan-07 23:56 
AnswerRe: Error after closing application Pin
Monty210-Jan-07 1:28
Monty210-Jan-07 1:28 
QuestionHow to invoke MSDN from an application? Pin
Ratish Philip9-Jan-07 22:42
Ratish Philip9-Jan-07 22:42 
AnswerRe: How to invoke MSDN from an application? Pin
Rajesh R Subramanian9-Jan-07 23:01
professionalRajesh R Subramanian9-Jan-07 23:01 
AnswerRe: How to invoke MSDN from an application? Pin
S Douglas9-Jan-07 23:21
professionalS Douglas9-Jan-07 23:21 
AnswerRe: How to invoke MSDN from an application? Pin
George L. Jackson9-Jan-07 23:22
George L. Jackson9-Jan-07 23:22 
QuestionCString to Date? Pin
bosfan9-Jan-07 21:24
bosfan9-Jan-07 21:24 
AnswerRe: CString to Date? Pin
Tony Hill9-Jan-07 21:31
professionalTony Hill9-Jan-07 21:31 
GeneralRe: CString to Date? Pin
bosfan10-Jan-07 2:19
bosfan10-Jan-07 2:19 
GeneralRe: CString to Date? Pin
bosfan10-Jan-07 2:39
bosfan10-Jan-07 2:39 
QuestionBest XML Config class ? Pin
Defenestration9-Jan-07 21:07
Defenestration9-Jan-07 21:07 
AnswerRe: Best XML Config class ? Pin
ThatsAlok9-Jan-07 21:47
ThatsAlok9-Jan-07 21:47 
AnswerRe: Best XML Config class ? Pin
Monty210-Jan-07 1:20
Monty210-Jan-07 1:20 
QuestionTo Run existing project in Visual Studio 2005 Pin
Atul239-Jan-07 20:54
Atul239-Jan-07 20:54 
QuestionRe: To Run existing project in Visual Studio 2005 Pin
Cedric Moonen9-Jan-07 21:01
Cedric Moonen9-Jan-07 21:01 
AnswerRe: To Run existing project in Visual Studio 2005 Pin
Christian Graus9-Jan-07 21:03
protectorChristian Graus9-Jan-07 21: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.