Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ Queue Pin
Joe Woodbury4-Sep-09 19:05
professionalJoe Woodbury4-Sep-09 19:05 
AnswerRe: C++ Queue Pin
N a v a n e e t h4-Sep-09 20:35
N a v a n e e t h4-Sep-09 20:35 
AnswerRe: C++ Queue Pin
«_Superman_»4-Sep-09 22:47
professional«_Superman_»4-Sep-09 22:47 
AnswerRe: C++ Queue Pin
Stuart Dootson5-Sep-09 0:12
professionalStuart Dootson5-Sep-09 0:12 
QuestionHow to get number of the "CMDIChildWnd" initialized? Pin
transoft4-Sep-09 12:31
transoft4-Sep-09 12:31 
AnswerRe: How to get number of the "CMDIChildWnd" initialized? Pin
Randor 4-Sep-09 13:55
professional Randor 4-Sep-09 13:55 
QuestionGetting source code information from exception Pin
nachiket074-Sep-09 9:26
nachiket074-Sep-09 9:26 
AnswerRe: Getting source code information from exception Pin
Randor 4-Sep-09 9:53
professional Randor 4-Sep-09 9:53 
Well, unfortunately if your using Visual Studio 2005 or higher then you need to parse the PDB to obtain the line number in a Release build. Unless you want to add __LINE__ macros[^] all over your code...

This may help:

Retrieving Symbol Information by Address[^]

If you are using Visual Studio 2003 or below you can use the /MAPINFO:LINES linker option. This will create a MAP file which contains symbolic names, address offsets and even line numbers at the bottom. When an exception occurs all you needed to do was walk the list of line numbers and compare the address of the exception to the ones in the list.

I dont really know why they removed the /MAPINFO:LINES option but I suspect it has something to do with VS2005 optimizations.

Best Wishes,
-David Delaune
GeneralRe: Getting source code information from exception Pin
nachiket078-Sep-09 6:10
nachiket078-Sep-09 6:10 
QuestionC++ Get File Size Pin
Jim Fell4-Sep-09 7:49
Jim Fell4-Sep-09 7:49 
AnswerRe: C++ Get File Size Pin
Rajesh R Subramanian4-Sep-09 8:05
professionalRajesh R Subramanian4-Sep-09 8:05 
GeneralRe: C++ Get File Size Pin
Jim Fell4-Sep-09 8:19
Jim Fell4-Sep-09 8:19 
GeneralRe: C++ Get File Size Pin
Code-o-mat4-Sep-09 8:25
Code-o-mat4-Sep-09 8:25 
GeneralRe: C++ Get File Size Pin
Joe Woodbury4-Sep-09 8:31
professionalJoe Woodbury4-Sep-09 8:31 
GeneralRe: C++ Get File Size Pin
Jim Fell4-Sep-09 10:24
Jim Fell4-Sep-09 10:24 
QuestionZooming image without loosing quality Pin
tealomp4-Sep-09 6:31
tealomp4-Sep-09 6:31 
AnswerRe: Zooming image without loosing quality Pin
includeh104-Sep-09 12:08
includeh104-Sep-09 12:08 
GeneralRe: Zooming image without loosing quality Pin
harold aptroot4-Sep-09 12:16
harold aptroot4-Sep-09 12:16 
GeneralRe: Zooming image without loosing quality Pin
Chris Losinger5-Sep-09 6:03
professionalChris Losinger5-Sep-09 6:03 
AnswerRe: Zooming image without loosing quality Pin
Chris Losinger5-Sep-09 6:00
professionalChris Losinger5-Sep-09 6:00 
QuestionA problem, please help. Pin
kingkongcn4-Sep-09 4:17
kingkongcn4-Sep-09 4:17 
AnswerRe: A problem, please help. Pin
Nuri Ismail4-Sep-09 4:24
Nuri Ismail4-Sep-09 4:24 
AnswerRe: A problem, please help. Pin
Cedric Moonen4-Sep-09 4:31
Cedric Moonen4-Sep-09 4:31 
AnswerRe: A problem, please help. Pin
Michael Schubert4-Sep-09 6:53
Michael Schubert4-Sep-09 6:53 
JokeRe: A problem, please help. Pin
David Crow4-Sep-09 7:01
David Crow4-Sep-09 7:01 

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.