Danyfirex Posted April 19, 2014 Posted April 19, 2014 (edited) Well This is not really a General/Support question, it's more like a doubt, ¿since when AutoIt allows to do something like my example?, I never notice that. :S Local $Struct=DllStructCreate("int v1;int v2") $Struct.v1=10 $Struct.v2=12 MsgBox(0,DllStructGetData($Struct,2),$Struct.v1) Is it as safe as DllStructGetData/DllStructSetData? Saludos Edited April 19, 2014 by Danyfirex Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
trancexx Posted April 19, 2014 Posted April 19, 2014 (edited) It was added during one dev period almost two years ago. It made sense to add because AutoIt was turning new chapter where having syntax like that for dllstruct access was justified. In fear that the new chapter won't be made, I suggested and then executed non-full implementation, where only literals are accepted for "addressing". The plan was to collect feedback and then fully implement or remove the feature based on analysis of it. Needles to say, adding the full support is as trivial as removing the feature for smart AutoIt developer because of the way the feature was implemented. AutoIt never made that new chapter, it's maybe only few lines below from where it was 2, 3, 4, 5 years ago. Edited April 19, 2014 by trancexx ♡♡♡ . eMyvnE
Danyfirex Posted April 19, 2014 Author Posted April 19, 2014 Thank you so much dear trancexx. full implementation was great. strange that I never noticed that. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now