Hi Anders, I found two problems with the component:
Memory leak.
Use MemCheck or FastMM4 and enabled the memory leak detection, run a project with the drag and drop component, you'll see the leak report.
Not unicode compatible with Delphi7.
I capture an URL with TURLDropTarget. Since the Title property is of type string in Delphi 7, the unicode text will be converted to ansistring using local codepage.
The leaks are known one time leaks and can safely be ignored, but I'll fix them for the next release.
You have a point about the Title property being ansi. I completely forgot that even though an URL can only be ansi, it is quite possible to have a title that requires unicode (?????????). I'll fix that too.
I have been using your component suite for a long time, to support interexchange of files within my application and to/from file system, Outlook etc.
However, after I upgraded from 4.1 to version 4.2 (and the 5.0 version), I can no longer stream Outlook msg-files. I use the TDropComboTarget class and stream data as follows:
This works well with version 4.1, but from version 4.2 the droppedItem.Size (TStream instance) reports 0, and the resulting file becomes empty, or 1kb and corrupted. I use Delphi 7 and FastMM4.
HX_unbanned: Well, then there is something wrong with your global variable as it did not do the trick for me....
Comments broken
I'm experiencing intermittent problems with the comment posting on this site. Even though the Akismet spam filter has been disabled, comments are being randomly marked as spam - Even my own comments
I'm monitoring the spam queue regularly so no comments should get lost. If you have posted a comment and it hasn't appeared within a few days, please let me know.
two problem:
1. not support unicode in delphi 7.
2. memory leak.
both v 4.2 and v5.0
I'm sorry, but you'll have to be a bit more specific than that.
Hi Anders, I found two problems with the component:
Use MemCheck or FastMM4 and enabled the memory leak detection, run a project with the drag and drop component, you'll see the leak report.
I capture an URL with
TURLDropTarget. Since the Title property is of type string in Delphi 7, the unicode text will be converted to ansistring using local codepage.The leaks are known one time leaks and can safely be ignored, but I'll fix them for the next release.
You have a point about the Title property being ansi. I completely forgot that even though an URL can only be ansi, it is quite possible to have a title that requires unicode (?????????). I'll fix that too.
Hello Anders,
I have been using your component suite for a long time, to support interexchange of files within my application and to/from file system, Outlook etc.
However, after I upgraded from 4.1 to version 4.2 (and the 5.0 version), I can no longer stream Outlook msg-files. I use the
TDropComboTargetclass and stream data as follows:This works well with version 4.1, but from version 4.2 the
droppedItem.Size(TStreaminstance) reports 0, and the resulting file becomes empty, or 1kb and corrupted. I use Delphi 7 and FastMM4.Any suggestions?
Best regards
Thor Sæther
I believe I have just fixed this problem. Please try with the next V5 snapshot when it becomes available (within a week hopefully).