I´m using Foobar with Com http://www.autohotkey.com/board/topic/5 ... ntry622731 but having trouble disconnecting the event-handle when foobar was closed premature. I then get an error message saying the RPC Server is unavailable.
Is it possible at all to disconnect the Object, if foobar is closed?
This happens if I restart my PC. Foobar is closed before my script and the error message prevents then the restart.
if App was closed disconnecting ComObjConnect(Obj) fails
Re: if App was closed disconnecting ComObjConnect(Obj) fails
Without the remote process in which the object really lives, there is no connection to disconnect.
You can suppress the error message using ComError(0) or Try.
You can suppress the error message using ComError(0) or Try.
Who is online
Users browsing this forum: Bing [Bot], wjt936826577 and 154 guests