Sign in to follow this  
Followers 0
AustrianOak

AutoIt error when I try to run my program when it is already running if I set it to single instance.

4 posts in this topic

In my program I set it to _SingleTon() so I can only run one instance of it and I included MsCreators hover function so I can add hovering to my skin images and whenever I am running my program and try to run it again it throws this error:

_DllCallBack_Free($pTimerProc)

_DllCallBack_Free(^ ERROR

Error: Variable used without being declared.

MsCreator, got any ideas how to fix this problem?

Help on solving this would be appreciated, :)

Share this post


Link to post
Share on other sites



@MsCreator:

Was wondering if you know why its throwing an error on line 480...

Share this post


Link to post
Share on other sites

At a guess you need to change MS Creators CallBack_Exit function

Func CallBack_Exit()
    If IsDeclared("pTimerProc") then 
        DllCallbackFree($pTimerProc)
        DllCall("user32.dll", "int", "KillTimer", "hwnd", 0, "uint", $uiTimer)
    EndIf
EndFunc

Share this post


Link to post
Share on other sites

Nice.

thanks.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0