Debug Errors (First-chance exception in ....)
-
Hm ja, also meine Win32 Anwendung (geschrieben unter MSVC 6.0) läuft soweit einwandfrei. Mich stört aber folgende Fehlermeldung (im Debug fenster):
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\user32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\gdi32.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\advapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ws2help.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\riched20.dll', no matching symbolic information found. First-chance exception in project_003.exe (NTDLL.DLL): 0xC0000005: Access Violation. [...]Die Exception (letzte Fehlermeldung da oben) tritt schon während des Main-Loops auf. Ich hab leider keine Ahnung wie ich vorgehen soll, um den Fehler zu beseitigen. Any help ?
Muchas Gracias

-
Dann wirst du wohl etwas falsch gemacht haben. Den Grund dafür findest du in deinem Quelltext.

Um herauszufinden, an welcher Stelle der Fehler auftritt, solltest du dein Programm schrittweise ausführen.
-
Ne, First-Chance Exceptions sind harmlos. Das sind Exceptions die vom Betriebssystem behandelt wurden.
-
first chance schrieb:
Ne, First-Chance Exceptions sind harmlos. Das sind Exceptions die vom Betriebssystem behandelt wurden.
Deswegen sind sie nicht gleich harmlos.
Fandango, wenn du MSVC benutzt, kannst du den Debugger so einstellen, dass er auch bei First Chance Exceptions anhält. Dann kannst du im Call Stack sehen, wie es zu dem Aufruf, der die Exception verursacht hat, kommt.
-
Ups, da hab ich wohl nicht richtig geguckt und war wohl etwas zu vorschnell
