Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat happened? :(( Pin
Cathy5-Sep-01 12:17
Cathy5-Sep-01 12:17 
AnswerRe: What happened? :(( Pin
Christian Graus5-Sep-01 13:38
protectorChristian Graus5-Sep-01 13:38 
GeneralRe: What happened? :(( Pin
Cathy6-Sep-01 6:27
Cathy6-Sep-01 6:27 
GeneralRe: What happened? :(( Pin
Christian Graus6-Sep-01 12:10
protectorChristian Graus6-Sep-01 12:10 
Generalcapturing OutputDebugStrings Pin
Steve The Plant5-Sep-01 11:02
Steve The Plant5-Sep-01 11:02 
GeneralRe: capturing OutputDebugStrings Pin
Tomasz Sowinski6-Sep-01 1:57
Tomasz Sowinski6-Sep-01 1:57 
GeneralRe: capturing OutputDebugStrings Pin
reiko6-Sep-01 18:39
reiko6-Sep-01 18:39 
GeneralRe: capturing OutputDebugStrings Pin
Mike Nordell7-Sep-01 10:59
Mike Nordell7-Sep-01 10:59 
As the other comments stated, you probably want to do it using by debug events.

But since it's in the same app, just blast a new address into the jump table for OutputDebugString (it's in the IMPORT section of your PE (at runtime). If you also wan't to "steal" GetProcAddress() usage you'll have to patch the first few bytes of OutputDebugString() to be a "jmp X", where X is the address of your (stdcall!) replacement function. Either way, you would have to know some IA32 assembly to know what's going on.
QuestionHow to display image in View? Pin
Jerry Wang5-Sep-01 9:18
Jerry Wang5-Sep-01 9:18 
AnswerRe: How to display image in View? Pin
Chris Losinger5-Sep-01 10:32
professionalChris Losinger5-Sep-01 10:32 
AnswerRe: How to display image in View? Pin
Not Active5-Sep-01 10:42
mentorNot Active5-Sep-01 10:42 
GeneralBSTR parameter to Stored Procedure Pin
Bigge5-Sep-01 8:46
Bigge5-Sep-01 8:46 
GeneralRe: BSTR parameter to Stored Procedure Pin
Not Active5-Sep-01 10:26
mentorNot Active5-Sep-01 10:26 
GeneralRe: BSTR parameter to Stored Procedure Pin
Rashid Thadha5-Sep-01 11:52
Rashid Thadha5-Sep-01 11:52 
GeneralTooltips Pin
5-Sep-01 7:40
suss5-Sep-01 7:40 
GeneralRe: Tooltips Pin
Rashid Thadha5-Sep-01 11:53
Rashid Thadha5-Sep-01 11:53 
GeneralRe: Tooltips Pin
6-Sep-01 6:56
suss6-Sep-01 6:56 
GeneralCRichEditView printing Pin
billb21125-Sep-01 7:16
billb21125-Sep-01 7:16 
GeneralPlease give me help. Pin
LoveInSnowing5-Sep-01 6:57
LoveInSnowing5-Sep-01 6:57 
GeneralRe: Please give me help. Pin
Rashid Thadha5-Sep-01 11:55
Rashid Thadha5-Sep-01 11:55 
GeneralRe: Please give me help. Pin
LoveInSnowing5-Sep-01 18:35
LoveInSnowing5-Sep-01 18:35 
GeneralRe: Please give me help. Pin
Martin Bohring5-Sep-01 21:28
Martin Bohring5-Sep-01 21:28 
GeneralA Simple Question Pin
Steve Thresher5-Sep-01 6:14
Steve Thresher5-Sep-01 6:14 
GeneralRe: A Simple Question Pin
Oliver Anhuth5-Sep-01 20:18
Oliver Anhuth5-Sep-01 20:18 
GeneralListCtrl Pin
Bernard Chayer5-Sep-01 5:47
professionalBernard Chayer5-Sep-01 5:47 

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.