Page 1 of 1

On_OpenProcess does not fire ...

PostPosted: Wed Jan 21, 2009 5:58 pm
by Tender
Hi,

maybe this is a silly question, but when having scripted that simple functions below, why does it not fire if i open notepad.exe while MHS is running? Did i miss something?

regards,

Tender

***

void On_OpenProcess(HANDLE hProcess, DWORD dwProcessId)
{

Warning( "New Process ..." );

}

***

void On_Open_NOTEPAD_EXE ( HANDLE hProcess, DWORD dwProcessId )
{

Warning( "New Notepad Instance ..." );

}

PostPosted: Thu Jan 22, 2009 12:07 am
by lxcid
Your code works for me.

Did you compile?

I tried the code from the help file and it works too.

Code: Select all
VOID On_OpenProcess( HANDLE hHandle, DWORD dwProcess ) {
    Warning( "Opening: %.8X %.8X", hHandle, dwProcess );
}

PostPosted: Thu Jan 22, 2009 8:48 pm
by Tender
Hi,

even the example does not fire - Of course after compile.

Might it have to do with Windows 2003 Server OS?


regards,

Tender

PostPosted: Thu Jan 22, 2009 8:49 pm
by Tender
"Open for Debug" also doesn't work ...

PostPosted: Thu Jan 22, 2009 10:13 pm
by L. Spiro
You have broken computer.


L. Spiro