PDA

View Full Version : Function to detect if exe is open?


duhru
April 24th, 2005, 18:21
Is there a function to determine if an executable is currently open in the disassembly window?

I'd like my plugin to only display relevant options. If the user does not yet have an executable disassembled, I'd like my plugin to not display some menu options.

duhru
April 25th, 2005, 08:52
Looks like one way to do it is to call Plugingetvalue(VAL_PROCESSNAME) and ensure that the result isn't a null string.