Jump to content

Recommended Posts

  • 2 years later...
Posted

I haven't actually tested this and I'm not near my system, but just curious if I will be going down the right path in order to resolve my issue. Sometimes the app stops monitoring, I guess it happens when the computer goes to sleep or hibernation. So I want something that will automatically start monitoring again if this issue is detected. Looking at the OP from the simple notification example will something like this do what I want? I don't want to do the whole creation thing again, because it would interfere with too many other things in the app. Thanks.

 

    If @Error Then         ; Do something because notifications will not come from this thread!         
        ConsoleWrite('Error: _RDC_GetData() - ' & @Error & ', ' & @Extended & ', ' & _RDC_GetDirectory($lParam) & @CR)  
     
        GUIRegisterMsg($WM_RDC, 'WM_RDC')         
        Return 0     
    EndIf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...