JScript 71 Posted September 22, 2011 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 IngramDownload Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Share this post Link to post Share on other sites
Beege 98 Posted September 22, 2011 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. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Share this post Link to post Share on other sites
JScript 71 Posted September 22, 2011 So read and write in variable is faster than using those functions? João carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)Somewhere Out ThereJames IngramDownload Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Share this post Link to post Share on other sites
Beege 98 Posted September 22, 2011 Never tested but logic says yes. Dllstruct*** calls a function that sets a var. Where $a=1 just sets the var. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Share this post Link to post Share on other sites
JScript 71 Posted September 22, 2011 Yes, It makes sense... Thanks! João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)Somewhere Out ThereJames IngramDownload Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Share this post Link to post Share on other sites