It has to be a same thread thing, that one's still remote (going through loadlibrary). My idea, was that you actually do a detour style redirect and hook some api that you know would be called with the window you're trying to kill, like createwindowex, begin paint, etc. and then you'll place you're alternate code and have the owning thread call it itself. Good article: http://www.intel.com/cd/ids/develope...865.htm?page=1