Comments (2)
SetPerformedDropEffect calls TClipboardFormat.SetData which has these lines in it:
// If we didn't succeed in transfering ownership of the data medium to the
// IDataObject, we must deallocate the medium ourselves.
if (not Result) then
ReleaseStgMedium(AMedium);
The comment there seems to indicate that upon failure it should release the medium (which it does). So it does seem strange to me that once this function returns it goes back to SetPerformedDropEffect which then releases the medium in the non-failure case.. It seems like it should not be released as the IDataObject should have ownership of that medium now.
from the-drag-and-drop-component-suite-for-delphi.
Can you provide a demo-project?
from the-drag-and-drop-component-suite-for-delphi.
Related Issues (20)
- copy / paste of outlook attachment / or from file explorer not working HOT 2
- WinRAR file drag
- Error installing in Delphi 7 HOT 2
- Version for Delphi 11 Alexandria? HOT 1
- readme.md outdated
- "VirtualFileStream" demo Source to browsers triggering "OnGetStream" many times
- donot work in win7 win8 win10 with UAC HOT 2
- TDropComboTarget; Bitmaps
- TDropFileTarget: Abort notification? HOT 2
- Evicense of "Use after free" HOT 1
- Two annoying memory leaks reported
- Assertion error in latest DragDrop.pas
- Memory leak: TDataFormatClasses
- Need help to generate C++Builder files HOT 2
- TDropFileTarget.MultiTarget fails in some cases HOT 4
- When a file is dragged from within 7-zip to my target, TDropPIDLTarget returns parent folder PIDL instead of item PIDL HOT 2
- Delphi 12 Packages? HOT 2
- Please Put it in GetIt
- Installation / Delphi XE2 and Delphi 11.3 HOT 9
- Please make the installation instructions a little more helpful
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-drag-and-drop-component-suite-for-delphi.