PDA

View Full Version : Detect Active Application



NewsArchive
01-24-2013, 04:59 AM
"Detect Active Application" can i check about a process is running.

Problem is, the process is running only in "Process all users register!".


is it not possible to check this ?

Dirk Büchel

NewsArchive
01-24-2013, 04:59 AM
> With "Detect Active Application" can i check about a process is running.
>
> Problem is, the process is running only in "Process all users register!".
>
>
> is it not possible to check this ?

The EnumProcessModules API returns 603 if the process was not currently
running. In other words, the specified File Name (32-bit process) was not
running when you checked it.

BTW, there is no bug in this SB function. If 603 is returned then the
process was not active.

Friedrich

NewsArchive
01-24-2013, 05:00 AM
A quick idea: perhaps your intention was to check if a specific service was
running? IMO, your "BDE Starter" is a Windows service. So you have to use
"Check Service..." to see if it is active.

Friedrich