--- In [email protected], David Troesch <davidt.pproyg2...@...> wrote:
>
> > I'm not running Win7, but I've sometimes (rarely) had a null handle for XP.
> >
> > So, maybe including a more detailed *Info expr(..) in the button's tooltip
> > showing the handle, exename, class, and caption may help debug.
>
> Of the items I tested, the only two items that don't give information
> with 64-bit programs is exename and exepath. Everything else (including
> handle) give correct information
Just out of interest, did you try classname?
Anyway, I confirmed that the way PowerPro gets the exe name only works for 32
bit processes. There is a function new with vista that supposedly allows 32
bit process to get exename of any process. I uploaded a new powerpro.exe if
you want to test (I cannot). Keep a backup of your current powerpro.exe
If you get debug window and output, pls let me know what it says.
Pls just try a simple
win.debug(win.exename("active"))
with a 64 bit app like notepad active. Does it get the exename?
>
> David Troesch | Atlanta, GA | ICQ# 2333123
> Perfect your cut/copy/paste techniques. http://tinyurl.com/2kmet
> Funstuff: Agony: Not all pain is gain. www.despair.com
>