Opened 15 years ago
Closed 15 years ago
#1031 closed Bug (Fixed)
_ClipBoard_SetData inconsistency with new _ClipBoard_GetData
Reported by: | Ascend4nt | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.3.1.2 | Component: | AutoIt |
Version: | 3.3.0.0 | Severity: | None |
Keywords: | Cc: |
Description
Not sure if this is the place to put this, but this isn't really a feature request, and isn't quite (but-almost-is) a bug. It has to do with the new _ClipBoard_GetData changes made for AutoIT v3.3.1.2. See ticket #1028 @ http://www.autoitscript.com/trac/autoit/ticket/1028.
This new version allows Binary or String input, to match the output of _ClipBoard_GetData. (It also allows the special NULL case which has something to do with the program handling Clipboard requests itself).
While this may break some code, it makes sense to me to keep it consistent with the return values of _ClipBoard_GetData, and avoids the confusing mess of allocating memory prior to a call.
I'm attaching the new (tested) code.
Attachments (1)
Change History (3)
Changed 15 years ago by Ascendant
comment:1 Changed 15 years ago by Ascend4nt
Da*n, always forgetting something. Could you add me to the list of Author(s)? Or I could submit a new version I suppose.
comment:2 Changed 15 years ago by Jpm
- Milestone set to 3.3.1.2
- Owner set to Jpm
- Resolution set to Fixed
- Status changed from new to closed
Fixed in version: 3.3.1.2
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.
_ClipBoard_SetData new version