Click here to Skip to main content
15,888,521 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: 2 way comunicaion betwean classes Pin
Xeef7-Jun-07 7:15
Xeef7-Jun-07 7:15 
QuestionHow to copy data from one listview to another? vs 2005 Pin
sync_austin6-Jun-07 16:28
sync_austin6-Jun-07 16:28 
AnswerRe: How to copy data from one listview to another? vs 2005 Pin
Christian Graus6-Jun-07 16:41
protectorChristian Graus6-Jun-07 16:41 
Questionhello, Pin
Mosina6-Jun-07 1:22
Mosina6-Jun-07 1:22 
QuestionHi Pin
Mark Salsbery6-Jun-07 5:09
Mark Salsbery6-Jun-07 5:09 
AnswerRe: hello, Pin
Christian Graus6-Jun-07 10:49
protectorChristian Graus6-Jun-07 10:49 
QuestionHow to correctly catch WM_COPYDATA Pin
gapfulgence5-Jun-07 6:11
gapfulgence5-Jun-07 6:11 
QuestionHow to correctly WM_COPYDATA Pin
gapfulgence5-Jun-07 6:11
gapfulgence5-Jun-07 6:11 
Hi,

I'm struggling with a problem. I want to catch a 'WM_COPYDATA' event that occurs in a C# application.
I send a data from a C++ application. The bridge is correctly done I think.
So, sometimes it works, usually when my C# application is active.
But most of the time, it doesn't work, because when trying to catch the appropriate WM_COPYDATA message in WndProc overrided method of my C# application, the program stays catching a couple of other messages like: WM_WINDOWPOSCHANGED, WM_ACTIVATEAPP, WM_NCACTIVATE, WM_ACTIVATE and so on.
Doing so, it almost never catch the WM_COPYDATA message that I sent from my C++ application.

Can you help me please ?

Thanks.
P.S.: I catch messages in my C# application like this:

protected override void WndProc(ref Message m)
{
string g = m.ToString();

if (m.Msg == WM_COPYDATA)
{
// instructions.
}
}

p.f. Goudjo-Ako

Bringing our energy together !

AnswerRe: How to correctly WM_COPYDATA Pin
Mark Salsbery5-Jun-07 6:54
Mark Salsbery5-Jun-07 6:54 
AnswerRe: How to correctly WM_COPYDATA Pin
gapfulgence5-Jun-07 7:17
gapfulgence5-Jun-07 7:17 
QuestionAdvice? Pin
Frogboy1815-Jun-07 5:30
Frogboy1815-Jun-07 5:30 
AnswerRe: Advice? Pin
Cyrilix6-Jun-07 6:34
Cyrilix6-Jun-07 6:34 
GeneralRe: Advice? Pin
Frogboy1816-Jun-07 7:00
Frogboy1816-Jun-07 7:00 
GeneralRe: Advice? Pin
Christian Graus6-Jun-07 10:50
protectorChristian Graus6-Jun-07 10:50 
GeneralRe: Advice? Pin
Frogboy1816-Jun-07 11:03
Frogboy1816-Jun-07 11:03 
GeneralRe: Advice? Pin
Christian Graus6-Jun-07 12:03
protectorChristian Graus6-Jun-07 12:03 
GeneralRe: Advice? Pin
Mark Salsbery6-Jun-07 13:13
Mark Salsbery6-Jun-07 13:13 
QuestionImage Resizing Methods(Image Processing) Pin
Software_Specialist5-Jun-07 3:58
Software_Specialist5-Jun-07 3:58 
AnswerRe: Image Resizing Methods(Image Processing) [modified] Pin
Mark Salsbery5-Jun-07 6:50
Mark Salsbery5-Jun-07 6:50 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Software_Specialist5-Jun-07 22:14
Software_Specialist5-Jun-07 22:14 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Mark Salsbery6-Jun-07 5:07
Mark Salsbery6-Jun-07 5:07 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Christian Graus6-Jun-07 10:52
protectorChristian Graus6-Jun-07 10:52 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Mark Salsbery6-Jun-07 13:00
Mark Salsbery6-Jun-07 13:00 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Software_Specialist6-Jun-07 20:56
Software_Specialist6-Jun-07 20:56 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Mark Salsbery7-Jun-07 4:34
Mark Salsbery7-Jun-07 4:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.