Tim Johnson
2004-10-17 21:59:57 UTC
I'm using a MessageWindow in C# to get a pointer to some data from a legacy
C++ dll. I can decipher the msg.LParam with the Marshal methods and stash
the value away in my local variables. But how can I then delete the memory
associated with LParam, which was allocated by the C++ code before he did a
PostMessage to me? The Marshal class in CF does not seem to support the
usual memory management functions.
C++ dll. I can decipher the msg.LParam with the Marshal methods and stash
the value away in my local variables. But how can I then delete the memory
associated with LParam, which was allocated by the C++ code before he did a
PostMessage to me? The Marshal class in CF does not seem to support the
usual memory management functions.
--
Tim Johnson
High Point Software
www.high-point.com
(503) 312-8625
Tim Johnson
High Point Software
www.high-point.com
(503) 312-8625