Click here to Skip to main content
15,914,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in Accessing CArray object Pin
chandu00417-Oct-07 2:13
chandu00417-Oct-07 2:13 
GeneralRe: Problem in Accessing CArray object Pin
ThatsAlok17-Oct-07 2:28
ThatsAlok17-Oct-07 2:28 
GeneralRe: Problem in Accessing CArray object Pin
David Crow17-Oct-07 3:27
David Crow17-Oct-07 3:27 
QuestionDownload image programmatically Pin
Y K Kishore Kumar16-Oct-07 21:46
Y K Kishore Kumar16-Oct-07 21:46 
AnswerRe: Download image programmatically Pin
Hamid_RT16-Oct-07 22:59
Hamid_RT16-Oct-07 22:59 
AnswerRe: Download image programmatically Pin
ThatsAlok17-Oct-07 1:31
ThatsAlok17-Oct-07 1:31 
Questionhow to get the line number of exception (details) in a try catch(...) block Pin
Rocky#16-Oct-07 21:38
Rocky#16-Oct-07 21:38 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Matthew Faithfull17-Oct-07 0:15
Matthew Faithfull17-Oct-07 0:15 
Plain C++ doesn't have the reflection capabilities of C# so what you want to do, to be generic, requires the use of symbolic debug information. In other words you can do this but it's not straight forward and will only work in Debug builds with the PDB available. The full process of turning addresses into line numbers and a great deal more is explained in this book by John Robbins[^] and the associated source code will give you what you need. If you can find John's web site it should all be available for free download.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Rocky#17-Oct-07 0:22
Rocky#17-Oct-07 0:22 
AnswerRe: how to get the line number of exception (details) in a try catch(...) block Pin
Mark Salsbery17-Oct-07 5:39
Mark Salsbery17-Oct-07 5:39 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Rocky#21-Oct-07 19:29
Rocky#21-Oct-07 19:29 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Mark Salsbery23-Oct-07 8:03
Mark Salsbery23-Oct-07 8:03 
QuestionSmall doubt Pin
kuttiam16-Oct-07 21:30
kuttiam16-Oct-07 21:30 
AnswerRe: Small doubt Pin
chandu00416-Oct-07 21:59
chandu00416-Oct-07 21:59 
AnswerRe: Small doubt Pin
Nelek16-Oct-07 22:04
protectorNelek16-Oct-07 22:04 
GeneralRe: Small doubt Pin
kuttiam17-Oct-07 19:07
kuttiam17-Oct-07 19:07 
AnswerRe: Small doubt Pin
ThatsAlok17-Oct-07 1:37
ThatsAlok17-Oct-07 1:37 
Questionwstring to string question Pin
monsieur_jj16-Oct-07 21:22
monsieur_jj16-Oct-07 21:22 
AnswerRe: wstring to string question [modified] Pin
ThatsAlok17-Oct-07 1:36
ThatsAlok17-Oct-07 1:36 
QuestionHow to display only console window and hiding dialogbox? Pin
mss8116-Oct-07 21:17
mss8116-Oct-07 21:17 
AnswerRe: How to display only console window and hiding dialogbox? Pin
Nelek16-Oct-07 21:55
protectorNelek16-Oct-07 21:55 
AnswerRe: How to display only console window and hiding dialogbox? Pin
mss8116-Oct-07 22:05
mss8116-Oct-07 22:05 
GeneralRe: How to display only console window and hiding dialogbox? Pin
Nelek17-Oct-07 0:05
protectorNelek17-Oct-07 0:05 
GeneralRe: How to display only console window and hiding dialogbox? Pin
ThatsAlok17-Oct-07 20:36
ThatsAlok17-Oct-07 20:36 
GeneralRe: How to display only console window and hiding dialogbox? Pin
ThatsAlok17-Oct-07 20:36
ThatsAlok17-Oct-07 20:36 

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.