R
Robert
Hi there,
I have to make a P/Invoke call to "SendMessage()" in the WinAPI, converting
a managed "string" to an unmanaged (C-style, null-terminated) string so I
can pass it via the LPARAM arg. Can someone enlighten me on how to perform
the conversion itself (no assistance needed on invoking "SendMessage()").
Thanks.
I have to make a P/Invoke call to "SendMessage()" in the WinAPI, converting
a managed "string" to an unmanaged (C-style, null-terminated) string so I
can pass it via the LPARAM arg. Can someone enlighten me on how to perform
the conversion itself (no assistance needed on invoking "SendMessage()").
Thanks.