Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted

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

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
×
×
  • Create New...