Sign in to follow this  
Followers 0
Ghastly_MIB

DllStructDelete error

5 posts in this topic

Hey,

when i'm using SysTray_UDF.au3 and use the function _SysTrayIconProcesses(). Then I get an error that DllStructDelete is a uknow function. I'm using beta 109.

Can anybody help me?

Share this post


Link to post
Share on other sites



DLLStructDelete is obsolete. I haven't used that UDF so I am not certain how to tell you to fix it.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Just replace all DllStructDelete calls with $Var = 0

Example, change

If $trayHwnd = -1 Then
    DllStructDelete($TBBUTTON)
    DllStructDelete($TBBUTTON2)
    DllStructDelete($ExtraData)
    SetError(1)
    Return -1
EndIf

To

If $trayHwnd = -1 Then
    $TBBUTTON = 0
    $TBBUTTON2 = 0
    $ExtraData = 0
    SetError(1)
    Return -1
EndIf
Edited by Jotun

Share this post


Link to post
Share on other sites

Thanks :o It works now

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