News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

TB_GETBUTTON where addr TBB is ....

Started by xandaz, May 21, 2012, 07:58:59 PM

Previous topic - Next topic

xandaz

    How do i make it work for another process to access the lpTBBUTTON of TB_GETBUTTON? I created another process and am trying to use another to enumerate the components of a given control in the other process. The TBBUTTON struct that i reffer in the message comes out empty. Is there a way to allocate memory that would be common to two different processes? Thanks in advance.

qWord

Quote from: xandaz on May 21, 2012, 07:58:59 PMIs there a way to allocate memory that would be common to two different processes?
The VirtualAllocEx function allowes to allocate memory in an other process.
However, what about a message based interface for IPC?
FPU in a trice: SmplMath
It's that simple!

xandaz

    Qw.... that's chinese to me. I'm just writting one app. I was trying to see if i could enumerate the button identifiers of the media player's toolbar so i could write something that'd keep track of whether it's playing, paused, which track, etc.
    I also tryied file mapping but the player always crashes. Thanks qw.
    btw. this was for a rent-a-coder but i think i've had enough trouble for 17 usd max and someone in russia will prolly bid 10usd so nm.
    Thanks again q