Jump to content

DllStruct* - Is better than simple variables?


JScript
 Share

Recommended Posts

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!

Link to comment
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.

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...