N
nak
Hi there,
I'm trying to send messages to and from applications written in VB.NET,
I wish to do this by sending windows messages. Though I have come across a
problem, I wish to be able to send my own custom packets in the form of a
string in the lParam parameter but can only seem to do this if the message
ID is WM_COPYDATA.
What I want to be able to do is send strings in the lParam parameter but
with my own message ID, i.e. WM_NAKMSG as I want to be able to keep my
application control protocol completely separate of any Windows handling.
Can anyone offer advice on this? Or do I *have* to use WM_COPYDATA? It
seems a little blind to have to do this, when I try using my own ID the
structures data gets reset for some reason or another, I presume this is
down to some background message handling that I am not aware of. I thought
the point of sending your own messages was that you could send whatever you
wanted in them without interfering with the internals.
Anyway, I look forward to a reply, thanks in advance!
Nick.
I'm trying to send messages to and from applications written in VB.NET,
I wish to do this by sending windows messages. Though I have come across a
problem, I wish to be able to send my own custom packets in the form of a
string in the lParam parameter but can only seem to do this if the message
ID is WM_COPYDATA.
What I want to be able to do is send strings in the lParam parameter but
with my own message ID, i.e. WM_NAKMSG as I want to be able to keep my
application control protocol completely separate of any Windows handling.
Can anyone offer advice on this? Or do I *have* to use WM_COPYDATA? It
seems a little blind to have to do this, when I try using my own ID the
structures data gets reset for some reason or another, I presume this is
down to some background message handling that I am not aware of. I thought
the point of sending your own messages was that you could send whatever you
wanted in them without interfering with the internals.
Anyway, I look forward to a reply, thanks in advance!
Nick.