Menu

#5 Problem finding edonkey window

All_versions
open
nobody
edk Issues (5)
3
2002-05-28
2002-05-28
No

Sometimes ServSpy has problems finding the edonkey window
when it is minimized to the taskbar. I haven't been able to
properly reproduce this error, it might be a one-time glitch.

I'll double-check the windows search and see if there is a bug.

Another fix would be to only look for the window at startup and
then reuse the window handle, it shouldn't change. Maybe this will
work on a trayed donkey as well?

Discussion

  • Esben Jensen

    Esben Jensen - 2002-05-28
    • milestone: 206754 --> All_versions
     
  • rtf

    rtf - 2002-05-28

    Logged In: YES
    user_id=550684

    does the error happen when servspy is running ONLY in the tray or as
    soon as the tray icon is enabled? my servspy is running in the tray all day
    long, no problems so far...

    saving the windows handler at startup
    could get you into trouble if the donkey is restarted while servspy keeps
    running... I doubt that the donkey will get the same handle twice ;)

    -
    rtf

     
  • Esben Jensen

    Esben Jensen - 2002-05-28

    Logged In: YES
    user_id=544193

    The problem occured with all versions of ServSpy, so the tray
    operation has nothing to do with it. After a Windows reboot I wasn't able
    to reproduce the error. It could be related to the relative arrangement of
    windows.

    There must be a way to check for the validity of a windows handle?
    Controlling that the handle is what it is supposed to be e.g. a richedit,
    with a parent window named edonkey a few levels up. If the handle is
    still valid it can be used, otherwise a new search must be made.

     

Log in to post a comment.

MongoDB Logo MongoDB