Modify ↓
      
        #2160 closed Feature Request (Rejected)
DllStructGetStruct() - new function
| Reported by: | Yashied | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Structure | Cc: | 
Description
Is it possible to add a new function to retrieve the source "structure" string that was passed in DllStructCreate() when creating the structure? For example:
$tStruct = DllStructCreate('int;int;ptr')
$sStruct = DllStructGetStruct($tStruct)
; $sStruct contains "int;int;ptr"
    Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by TicketCleanup
- Version 3.3.8.1 deleted
comment:2 Changed 14 years ago by trancexx
Why and how would that be useful?
Be to the point now please.
comment:3 Changed 14 years ago by trancexx
- Resolution set to Rejected
- Status changed from new to closed
Few days should have been enough time to think of something. 
comment:4 Changed 7 years ago by genius257
I believe this should be reconsidered.
I could find it useful for:
- debugging
- dynamic element casting of unknown structures, and dynamic changes/usage of partial or full structure
- type lookup of structure properties
Plus many other dynamic use cases i properly cannot even imagine.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
        TracTickets for help on using
        tickets.
    

Automatic ticket cleanup.