when I call DrgAddStrHandle, will the OS do a copy of the string I pass
to it or do I need to preserve the memory of the string the handle has
been created for?
Lars
Reading the PM Ref., one would reasonably expect the system to keep a copy
of the string as part of whatever data structure the handle refers to.
String handles are atoms. If you look in Theseus, each app you've dragged
from has a 4k allocation in shared memory made by PMCTLS. AFAICT, this is
the drag atom table.
--
== == almost usable email address: Rich AT E-vertise.Com == ==
___________________________________________________________________
|
| DragText v3.9 with NLS support
Rich Walsh | A Distinctly Different Desktop Enhancement
Ft Myers, FL | http://e-vertise.com/dragtext/
___________________________________________________________________
ok, the handles are atoms but what does that mean for the strings
themselves ? Or are you saying that whenever something is represented as
an atom, that the original thing is copied by the system ?
Lars
> ok, the handles are atoms but what does that mean for the strings
> themselves ? Or are you saying that whenever something is represented as
> an atom, that the original thing is copied by the system ?
Yes.