Re: Cannot change WindowProc if the window does not belong to the same process as the calling thread under W2000

From: Andrea Raimondi (rainaple_at_tin.it)
Date: 10/30/03


Date: Thu, 30 Oct 2003 08:49:21 +0100

Peter Below (TeamB) wrote:
> You cannot subclass windows in another process on Win32. The code for
> the window function has to be in the same process as the window. Which
> means you have to do the subclassing from a DLL you get into the
> target processes memory space.

Hi Peter,

That's exactly what I'm trying to do with the hook procedure!

I have no clue about why it doesn't work, but that's the main goal!

> Check Mathias Rauens website: http://help.madshi.net , he has diverse
> tools for these low-level tasks.

I can't spend money for this task :-(

Andrew



Relevant Pages

  • Re: Extra window words & dialogs
    ... > in a subclassed window it's possible to store extra data into the window ... > wmDestroy(hWindow, pDS); ... > to store the data from the calling program. ... > Regards, Peter ...
    (comp.os.os2.programmer.misc)
  • Re: ActiveWindow broken in Word 2003?
    ... Thanks again Peter - you're absolutely right of course. ... Thus we support most combinations from 97 on WinNT to ... > say about the Window object. ... >>Word no longer seems able to track the active window ...
    (microsoft.public.word.vba.general)
  • Re: open Excel file again and again
    ... Peter T, Thnx for your advice, but the files are not open! ... Excel creates a new window for it and displays it. ... Dim sSheet as string ...
    (microsoft.public.excel.programming)
  • Re: Set Thunderbird as default email program
    ... Thank you, Peter, but this still brought me to the same window as going from ... want to set Thunderbird as default email program, since I do not own Outlook ...
    (microsoft.public.office.misc)
  • Re: REMOVE ERASED PROGRAM IN CONTROL PANELS "ADD/REMOVE PROGRAM"
    ... "Peter" wrote: ... > Try this small programme..Add/Remove Master, using the uninstall button ... >> window of Control Panel of my OS Windows XP Pro SP2. ... But the installation file of the program doesn’t let me install the program ...
    (microsoft.public.windowsxp.help_and_support)