Bonjour,

J'ai un problème aux changement de vue. Je lève une ASSERT Error dans le fichier wincore.cpp ligne 626 :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
void AFXAPI AfxHookWindowCreate(CWnd* pWnd)
{
	_AFX_THREAD_STATE* pThreadState = _afxThreadState.GetData();
	if (pThreadState->m_pWndInit == pWnd)
		return;

	if (pThreadState->m_hHookOldCbtFilter == NULL)
	{
		pThreadState->m_hHookOldCbtFilter = ::SetWindowsHookEx(WH_CBT,
			_AfxCbtFilterHook, NULL, ::GetCurrentThreadId());
		if (pThreadState->m_hHookOldCbtFilter == NULL)
			AfxThrowMemoryException();
	}
	ASSERT(pThreadState->m_hHookOldCbtFilter != NULL);
	ASSERT(pWnd != NULL);
	ASSERT(pWnd->m_hWnd == NULL);   // only do once

	ASSERT(pThreadState->m_pWndInit == NULL);   // hook not already in progress
	pThreadState->m_pWndInit = pWnd;
}
Bon alors je vais replacer un peu le problème. Je suis dans une architecture MFC SDI avec 5 vues. Une de selection de répertoire, une sélection des images, et trois autres permettant des calculs.
J'ai implémenté(peut être et même surement mal) un CTabCtrl dans une des vues de calcul et depuis j'ai cette assert error.
voici une copie de la pile des appels que je ne sais pas trop lire :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 	pgm1.exe!gdcm::Document::GetDocEntryValue(gdcm::DocEntry * entry=0x10268444)  Ligne 1776 + 0x16	C++
>	msvcr71d.dll!CrtMessageWindow(int nRptType=2, const char * szFile=0x7c144c68, const char * szLine=0x0184bfd4, const char * szModule=0x00000000, const char * szUserMessage=0x0184bff4)  Ligne 617 + 0x16	C
 	msvcr71d.dll!_CrtDbgReport(int nRptType=2, const char * szFile=0x7c144c68, int nLine=626, const char * szModule=0x00000000, const char * szFormat=0x00000000, ...)  Ligne 516 + 0x4c	C
 	mfc71d.dll!AfxAssertFailedLine(const char * lpszFileName=0x7c144c68, int nLine=626)  Ligne 28 + 0x14	C++
 	mfc71d.dll!AfxHookWindowCreate(CWnd * pWnd=0x0a491118)  Ligne 626 + 0x18	C++
 	mfc71d.dll!CWnd::CreateEx(unsigned long dwExStyle=0, const char * lpszClassName=0x7c14975c, const char * lpszWindowName=0x00000000, unsigned long dwStyle=1342177280, int x=0, int y=0, int nWidth=870, int nHeight=820, HWND__ * hWndParent=0x000507c4, HMENU__ * nIDorHMenu=0x00000441, void * lpParam=0x00000000)  Ligne 692	C++
 	mfc71d.dll!CWnd::Create(const char * lpszClassName=0x7c14975c, const char * lpszWindowName=0x00000000, unsigned long dwStyle=268435456, const tagRECT & rect={...}, CWnd * pParentWnd=0x0a491080, unsigned int nID=1089, CCreateContext * pContext=0x00000000)  Ligne 741	C++
 	mfc71d.dll!CTabCtrl::Create(unsigned long dwStyle=268435456, const tagRECT & rect={...}, CWnd * pParentWnd=0x0a491080, unsigned int nID=1089)  Ligne 1143	C++

Si vous aviez une idée ça m'aiderait grandement

Merci d'avance