Message board for the users of flat assembler.
> Windows > cbthook failed when i click debugview 4.76 (latest)
i downloaded the latest debugview 4.76
using the latest fasm 1.67.36
in the latest windows 7 build 7057 (i tried in windows xp sp2 too)
it hangs when i click debug view. weird....
nothing magic here, but why it hangs the debugview is beyond me.
Last edited by sleepsleep on 22 Mar 2009, 16:02; edited 1 time in total
|22 Mar 2009, 06:57||
ok, i found some weird stuff here.
if i disable the below
.attach: ; ------ ; invoke OutputDebugString,d1 jmp .exit .detach: ; ------ ;invoke OutputDebugString,d2
then the application works without hanging the debugview. isn't this weird?
|22 Mar 2009, 16:00||
OutputDebugString ("the producer") works by synchronizing with "the consumer" (DebugView, any other debugger) as described here:
I've looked over your sources and the only fishy thing you are doing is calling OutputDebugString under the loader lock (because you are in DLL main). That shouldn't be a problem though.
Can you clarify, what exactly hangs? DebugView or your application?
|22 Mar 2009, 22:32||
hi there comrade,
thanks for the time you took to look at my source.
i think i figure out whats the problem.
it seems that i shouldn't use the debugview on the same machine that i run cbthook.
after i start debugview,
then i start my cbthook program,
then i activate the debugview window (sort of deadlock i think)
coz, my program will hook on the debugview and i use debugview to ODString... (i guess)
well, after i use a debugview remotely, hanging problem doesn't appear and all attach stuff detach gracefully.
|23 Mar 2009, 04:30||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.