Re: Use DLL for get Windows Message?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



leslie eldrige wrote:
Now how can I convert a msg.wParam or msg.message to LPSTR, because I want
to return a LPSTR (see LPSTR pReturn)?

You can't, a WPARAM is not an LPSTR which is not a DWORD. I could suggest
hundreds of ways to convert things between each other, but without knowing
much more about the context in which you want to call that function it is
impossible. What exactly is it that this function returns, what are its
parameters and what is it supposed to do? What is the intention behind the
code, what is the idea?

Uli

.



Relevant Pages