Sign in to follow this  
Followers 0
MrChris

Older script that used DllStructDelete! now what?

5 posts in this topic

I found a script on the web that uses a function called DllStructDelete but when trying to recompile using the latest beta I found that there is no function of that name.? Was it replaced with another function name?

MrChris

Share this post


Link to post
Share on other sites



I found a script on the web that uses a function called DllStructDelete but when trying to recompile using the latest beta I found that there is no function of that name.? Was it replaced with another function name?

MrChris

Replace:

DllStructDelete($var)oÝ÷ Ùh­«­¢+ØÀÌØíÙÈôÀ

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

As an option you could add the following to the script

Func DllStructDelete( ByRef $v_var)
$v_var = 0
EndFunc

Useful if there are a few of them, or you don't want to change the original code.

Edited by eltorro

Share this post


Link to post
Share on other sites

Thanks to both of you!

MrChris

Share this post


Link to post
Share on other sites

Nothing if it is a local variable and you just return after as tyhe local variable will be destroyed by the return mechanism

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