#2084 closed Bug (Fixed)
_ClipBoard_GetDataEx Help File Example crash
| Reported by: | wakillon | Owned by: | guinness |
|---|---|---|---|
| Milestone: | 3.3.9.1 | Component: | Standard UDFs |
| Version: | 3.3.8.0 | Severity: | None |
| Keywords: | Cc: |
Description
_ClipBoard_GetDataEx Help File Example crash
when click on Get ClipBoard Data button.
No error messages
just return AutoIT3.exe ended.rc:-1073741819
I'm on Xp sp3.
Attachments (0)
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
God damn it, does nobody read MSDN? It's pretty fucking clear on this:
The application must not free the handle nor leave it locked. The application must not use the handle after the EmptyClipboard or CloseClipboard function is called,
And of course the code doesn't even try to use the handle until after CloseClipboard() is called so it's just plain broken. The code is shit anyway. There are 2 exit points that do not invoke _ClipBoard_Close(). Best of all those two exit points require user input to pass-through so the clipboard is locked indefinitely waiting on user input in the case of error.
Brilliant!
comment:3 by , 14 years ago
| Milestone: | → 3.3.9.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [6781] in version: 3.3.9.1
comment:4 by , 14 years ago
| Component: | Documentation → Standard UDFs |
|---|

I can't reproduce it.
I assume some special data were in the clipboard.
Just try to reproduce and describe what you did