Binding win32 window to a D class
derek at psyc.ward
Wed Aug 9 08:34:18 PDT 2006
On Wed, 09 Aug 2006 16:34:44 +0300, Serg Kovrov wrote:
> Hello All,
> This one should be beaten to death already, but still I do not aware of
> fast/elegant way.
> 2. Same as above, but stores class reference in static array/hash and
> used SetWindowLongPtr/GetWindowLongPtr to store index to retrieve class
> from that static array. This actually works for D. But it is most slow
> technique since there we need to call GetWindowLongPtr and lookup for
> class pointer/reference on every windows message.
I use this method in an interpreted language with no perceived slowness.
Ok, so it might be slower than other methods but under no meaningful sense
is it actually slow.
"Down with mediocrity!"
More information about the Digitalmars-d-dwt