lerilcy
Messages postés23Date d'inscriptionmardi 7 janvier 2003StatutMembreDernière intervention18 février 2003
-
13 janv. 2003 à 11:23
cs_Kaid
Messages postés949Date d'inscriptionmardi 2 octobre 2001StatutMembreDernière intervention 8 juillet 2006
-
13 janv. 2003 à 15:18
Mon programme coupe des fichiers en part egales puis les recompose dans un 2eme temps.
Un peu comme les compresseurs type RZsplit Winrar...
A la compilation j'ai 0 erreurs 0 warnings MAIS une erreur bloque l'execution en me mettant un message :
------------------------------------------------------------------
Microsoft Visual C++ Debug library
Program: C:\decoupage.exe
File:filecore.cpp
line:258
For information on how your program can cause an assertion failure, see the visual c++ doc on asserts.
cs_Kaid
Messages postés949Date d'inscriptionmardi 2 octobre 2001StatutMembreDernière intervention 8 juillet 20061 13 janv. 2003 à 12:18
La méthode Seek() teste par la ligne ASSERT(m_hFile != (UINT)hFileNull) si un fichier est attaché à l'objet courant.
Dans ton cas, c'est non. As-tu spécifié un fichier ? Est-il ouvert ?
lerilcy
Messages postés23Date d'inscriptionmardi 7 janvier 2003StatutMembreDernière intervention18 février 2003 13 janv. 2003 à 14:33
Merci kaid
Et comme t'a l'air d'en etre un (en c).
tu saurais pas ce que c'est que ce message, stp:
Ms Visual c++ - Debug library
Debug error!
program: c:\decoupe.exe
abnormal program termination
Press retry to debug
il apparait pendant l'execution.
je fait retry:
Loaded symbols for 'C:\decoupe.exe'
Loaded 'C:\WINDOWS\system32\ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\winspool.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comdlg32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msctf.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msctfime.ime', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msimtf.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\apphelp.dll', no matching symbolic information found.
The thread 0x340 has exited with code 0 (0x0).
The thread 0x1A4 has exited with code -2147483645 (0x80000003).
The program 'C:\cyril\Decoupage\decoupe\Debug\decoupe.exe' has exited with code -2147483645 (0x80000003).
cs_Kaid
Messages postés949Date d'inscriptionmardi 2 octobre 2001StatutMembreDernière intervention 8 juillet 20061 13 janv. 2003 à 15:18
Bon avec ca, ca devrait marcher :
Quand ton erreur se produit et que tu te retrouves dans le debbugueur, il y a en bas une fenêtre où il y a écrit "Context" suivie d'une liste déroulante. Tu choisis dans cette liste la première référence à ton programme (la fonction que tu as écris) et normallement tu te trouves sur la ligne où se trouve le problème. Au besoin,"Go to source" si tu es dans le l'asm.