WM_COPYDATA failing?
-
I have seen issues with something that works fine in all Windows OS's except some machines running 2000 or XP. I'm using a WM_COPYDATA to send text between windows. When it fails, messages that should appear do not. It is extremely hard to narrow it down further than that. Is anyone aware of any issues using this message on the newer OS's?
-
I have seen issues with something that works fine in all Windows OS's except some machines running 2000 or XP. I'm using a WM_COPYDATA to send text between windows. When it fails, messages that should appear do not. It is extremely hard to narrow it down further than that. Is anyone aware of any issues using this message on the newer OS's?
Does it fail consistently? Have you used Spy++ on the recipient window to see if it is receiving the message? Perhaps the author of this article might have some knowledge of it failing.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
Does it fail consistently? Have you used Spy++ on the recipient window to see if it is receiving the message? Perhaps the author of this article might have some knowledge of it failing.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
Well, I've looked into it a bit further. It is actually recieving the message but the pointer to the data seems to be off be quite a bit (haven't counted the offset yet). I can see the start of my struct in the dump but it is preceeded by a bunch of "junk". I really don't know why. I have one long and 2 int's followed by a char[256]. The long, int's and string are all in there but not at the correct starting point. Any ideas?
-
Well, I've looked into it a bit further. It is actually recieving the message but the pointer to the data seems to be off be quite a bit (haven't counted the offset yet). I can see the start of my struct in the dump but it is preceeded by a bunch of "junk". I really don't know why. I have one long and 2 int's followed by a char[256]. The long, int's and string are all in there but not at the correct starting point. Any ideas?
Dave_ wrote: Any ideas? Having not ever used that message before, I'm afraid not.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
Dave_ wrote: Any ideas? Having not ever used that message before, I'm afraid not.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
I noticed someone else mentioned a similar issue in the article you linked to. No answer posted unfortunately.
It appears that the author has not been good about answering any of them. Bummer.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
It appears that the author has not been good about answering any of them. Bummer.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
Hi, I saw a thread where wm_copydata failed due to the nvidia tray-icon app. MfG
-
Hi, I saw a thread where wm_copydata failed due to the nvidia tray-icon app. MfG
Ok, but since Dave_ was the one asking the question, you might want to respond to him. :)
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)