Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWindows 95 and resource problem Pin
AndyC29-Mar-01 3:53
AndyC29-Mar-01 3:53 
GeneralRe: resource problem Pin
Paolo Messina29-Mar-01 7:06
professionalPaolo Messina29-Mar-01 7:06 
QuestionHow I can play mp3 files from my program Pin
Ahmad29-Mar-01 3:16
Ahmad29-Mar-01 3:16 
AnswerRe: How I can play mp3 files from my program Pin
Thierry Marneffe29-Mar-01 4:21
Thierry Marneffe29-Mar-01 4:21 
AnswerRe: How I can play mp3 files from my program Pin
Thierry Marneffe29-Mar-01 4:21
Thierry Marneffe29-Mar-01 4:21 
AnswerRe: How I can play mp3 files from my program Pin
Christian Graus29-Mar-01 12:39
protectorChristian Graus29-Mar-01 12:39 
GeneralCall Stack Debug Window in VC6 Pin
jerry0davis28-Mar-01 23:46
jerry0davis28-Mar-01 23:46 
GeneralRe: Call Stack Debug Window in VC6 Pin
Tim Deveaux29-Mar-01 4:41
Tim Deveaux29-Mar-01 4:41 
It may be that you haven't got the symbol tables they have. The MS Visual Studio Tools program menu has a Windows NT Symbols Setup, which loads symbol tables for the core system DLLs - VC attempts to find these when it loads, and if it does, it can show more info when debugging.

I have an NT box, and the intial DLL load typically looks like this in the output window:

Loaded symbols for 'C:\WINNT\System32\ntdll.dll'
Loaded symbols for 'C:\WINNT\system32\KERNEL32.DLL'
Loaded symbols for 'C:\WINNT\system32\USER32.DLL'
Loaded symbols for 'C:\WINNT\system32\GDI32.DLL'
Loaded symbols for 'C:\WINNT\system32\ADVAPI32.DLL'
Loaded symbols for 'C:\WINNT\system32\RPCRT4.DLL'
Loaded symbols for 'C:\WINNT\system32\COMDLG32.DLL'
Loaded symbols for 'C:\WINNT\system32\SHELL32.DLL'
Loaded 'C:\WINNT\system32\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\WINSPOOL.DRV', no matching symbolic information found.


In the call stack, I can see calls inside USER32, say, if I break in a messagebox loop:

USER32! ZwUserWaitMessage@0 + 11 bytes
USER32! DialogBox2@16 + 195 bytes
USER32! InternalDialogBox@28 + 121 bytes
USER32! SoftModalMessageBox@4 + 1579 bytes
USER32! MessageBoxWorker@4 + 357 bytes
USER32! MessageBoxExW@20 + 74 bytes
USER32! MessageBoxExA@20 + 100 bytes
USER32! MessageBoxA@16 + 22 bytes


The USER32! fn names are typical of what you get (no, for some reason, MS doesn't give us the code in a .pdb). If you're debugging, you still land in assembly, but you'll at least have names that can tell you where you are in assembly.

My theory here is that having the symbol info for the DLLs may help keep VC from cutting off the stack trace when it goes off into a system DLL, and thus allows you to see more.
GeneralOLE DoVerb() problem Pin
28-Mar-01 23:27
suss28-Mar-01 23:27 
GeneralRe: OLE DoVerb() problem Pin
28-Mar-01 23:45
suss28-Mar-01 23:45 
GeneralRe: OLE DoVerb() problem Pin
29-Mar-01 0:19
suss29-Mar-01 0:19 
QuestionHow to make splitter windows scroll synchronously? Pin
28-Mar-01 22:28
suss28-Mar-01 22:28 
GeneralCursor problem Pin
Wolfram Steinke28-Mar-01 14:10
Wolfram Steinke28-Mar-01 14:10 
GeneralRe: Cursor problem Pin
Christian Graus28-Mar-01 15:11
protectorChristian Graus28-Mar-01 15:11 
GeneralHelp de-activating system menu in window Pin
Peter Sjöström28-Mar-01 6:49
Peter Sjöström28-Mar-01 6:49 
GeneralRe: Help de-activating system menu in window Pin
Sir Gras of Berger28-Mar-01 9:30
Sir Gras of Berger28-Mar-01 9:30 
GeneralRe: Help de-activating system menu in window Pin
Peter Sjöström28-Mar-01 21:32
Peter Sjöström28-Mar-01 21:32 
GeneralHelp de-activating system menu in window Pin
Peter Sjöström28-Mar-01 6:48
Peter Sjöström28-Mar-01 6:48 
QuestionFlickering...? Pin
Manfred Ramosch28-Mar-01 3:45
Manfred Ramosch28-Mar-01 3:45 
AnswerRe: Flickering...? Pin
Chris Losinger28-Mar-01 8:17
professionalChris Losinger28-Mar-01 8:17 
AnswerRe: Flickering...? Pin
Erik Funkenbusch28-Mar-01 12:42
Erik Funkenbusch28-Mar-01 12:42 
GeneralRe: Flickering...? Pin
Manfred Ramosch29-Mar-01 2:31
Manfred Ramosch29-Mar-01 2:31 
GeneralRe: Flickering...? Pin
Christian Graus29-Mar-01 3:01
protectorChristian Graus29-Mar-01 3:01 
GeneralRe: Flickering...? Pin
Erik Funkenbusch29-Mar-01 13:23
Erik Funkenbusch29-Mar-01 13:23 
AnswerRe: Flickering...? Pin
Christian Graus28-Mar-01 12:53
protectorChristian Graus28-Mar-01 12:53 

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.