Click here to Skip to main content
15,900,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 17:24
John R. Shaw23-Oct-07 17:24 
AnswerRe: Multiple definitions Pin
User 58385223-Oct-07 16:07
User 58385223-Oct-07 16:07 
GeneralRe: Multiple definitions Pin
Christian Graus23-Oct-07 16:29
protectorChristian Graus23-Oct-07 16:29 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 17:50
John R. Shaw23-Oct-07 17:50 
GeneralRe: Multiple definitions Pin
User 58385223-Oct-07 18:22
User 58385223-Oct-07 18:22 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 18:46
John R. Shaw23-Oct-07 18:46 
QuestionSuspendThread and StackWalk64 Pin
Baltoro23-Oct-07 14:08
Baltoro23-Oct-07 14:08 
AnswerRe: SuspendThread and StackWalk64 Pin
cmk24-Oct-07 10:16
cmk24-Oct-07 10:16 
Baltoro wrote:
However, if you want to use the StackWalk64[^]function from the dbghelp.dll, you must call SuspendThread to get relavant and useful results.


Only if you want to walk the stack of a thread other than the current one.

This is fairly obvious, if you didn't suspend the other thread it's stack would likely change while you are walking it.

The only problem in suspending another thread is that, as mentioned, any other threads waiting on the the suspended thread are going to keep waiting. This isn't a problem unless their waits time-out, even this isn't a problem because it tests your codes response to a rare error condition.


...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

GeneralThanks for Reply Pin
Baltoro25-Oct-07 6:11
Baltoro25-Oct-07 6:11 
Questionirc via socket Pin
Adno23-Oct-07 12:29
Adno23-Oct-07 12:29 
QuestionRe: irc via socket Pin
Mark Salsbery23-Oct-07 13:42
Mark Salsbery23-Oct-07 13:42 
AnswerRe: irc via socket Pin
Adno23-Oct-07 14:59
Adno23-Oct-07 14:59 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 6:07
Mark Salsbery24-Oct-07 6:07 
GeneralRe: irc via socket Pin
Adno24-Oct-07 9:03
Adno24-Oct-07 9:03 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 10:59
Mark Salsbery24-Oct-07 10:59 
GeneralRe: irc via socket Pin
Moak8-Nov-07 12:16
Moak8-Nov-07 12:16 
QuestionCommunication between windows forms Pin
UnHolyKnight55523-Oct-07 11:35
UnHolyKnight55523-Oct-07 11:35 
AnswerRe: Communication between windows forms Pin
Hamid_RT23-Oct-07 20:48
Hamid_RT23-Oct-07 20:48 
QuestionSave image to bitmap Pin
JBAK_CP23-Oct-07 10:35
JBAK_CP23-Oct-07 10:35 
AnswerRe: Save image to bitmap Pin
Neo Andreson23-Oct-07 18:09
Neo Andreson23-Oct-07 18:09 
AnswerRe: Save image to bitmap Pin
Hamid_RT23-Oct-07 20:46
Hamid_RT23-Oct-07 20:46 
Questionhelp me Pin
lgbean23-Oct-07 9:47
lgbean23-Oct-07 9:47 
Questionrun-time created control handling Pin
mr_Tuborg23-Oct-07 9:00
mr_Tuborg23-Oct-07 9:00 
AnswerRe: run-time created control handling Pin
David Crow23-Oct-07 10:06
David Crow23-Oct-07 10:06 
GeneralRe: run-time created control handling Pin
mr_Tuborg23-Oct-07 18:45
mr_Tuborg23-Oct-07 18:45 

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.