Sign in to follow this  
Followers 0
JScript

DllStruct* - Is better than simple variables?

5 posts in this topic

Hi,

I have a few doubts about: DllStructCreate(), DllStructSetData() and DllStructGetData():

1- Use structures is faster than reading or writing variables?

2- DllStructs is slow to access than basic variables?

3- Is better than simple variables?

Thanks in advance!

João Carlos.


http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites



No. You should pretty much only be using these functions when you are working with a dll that requires some kind of a specific dll structure. Not for simple vars.

Share this post


Link to post
Share on other sites

Never tested but logic says yes. Dllstruct*** calls a function that sets a var. Where $a=1 just sets the var.

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