Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is there a extended TryCatch-Snippet ? Pin
Judah Gabriel Himango5-Jun-07 8:18
sponsorJudah Gabriel Himango5-Jun-07 8:18 
GeneralRe: Is there a extended TryCatch-Snippet ? Pin
Guffa5-Jun-07 9:28
Guffa5-Jun-07 9:28 
GeneralRe: Is there a extended TryCatch-Snippet ? Pin
Judah Gabriel Himango5-Jun-07 11:11
sponsorJudah Gabriel Himango5-Jun-07 11:11 
GeneralRe: Is there a extended TryCatch-Snippet ? Pin
Guffa5-Jun-07 22:18
Guffa5-Jun-07 22:18 
GeneralRe: Is there a extended TryCatch-Snippet ? Pin
Judah Gabriel Himango6-Jun-07 4:14
sponsorJudah Gabriel Himango6-Jun-07 4:14 
GeneralRe: Is there a extended TryCatch-Snippet ? Pin
Kevin McFarlane5-Jun-07 11:23
Kevin McFarlane5-Jun-07 11:23 
GeneralRe: Is there a extended TryCatch-Snippet ? Pin
Judah Gabriel Himango6-Jun-07 4:21
sponsorJudah Gabriel Himango6-Jun-07 4:21 
QuestionHow to correectly catch WM_COPYDATA ? Pin
gapfulgence5-Jun-07 7:15
gapfulgence5-Jun-07 7:15 
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 !

p.f. Goudjo-Ako

Bringing our energy together !

AnswerRe: How to correectly catch WM_COPYDATA ? Pin
kubben5-Jun-07 7:23
kubben5-Jun-07 7:23 
QuestionRe: How to correectly catch WM_COPYDATA ? Pin
gapfulgence5-Jun-07 8:07
gapfulgence5-Jun-07 8:07 
AnswerRe: How to correectly catch WM_COPYDATA ? Pin
kubben5-Jun-07 8:08
kubben5-Jun-07 8:08 
QuestionRe: How to correectly catch WM_COPYDATA ? Pin
gapfulgence5-Jun-07 8:21
gapfulgence5-Jun-07 8:21 
AnswerRe: How to correectly catch WM_COPYDATA ? Pin
kubben5-Jun-07 8:34
kubben5-Jun-07 8:34 
AnswerRe: How to correectly catch WM_COPYDATA ? Pin
gapfulgence6-Jun-07 2:15
gapfulgence6-Jun-07 2:15 
Questionregarding xml serialization [modified] Pin
ksrs5-Jun-07 7:09
ksrs5-Jun-07 7:09 
AnswerRe: regarding xml serialization Pin
Not Active5-Jun-07 7:34
mentorNot Active5-Jun-07 7:34 
QuestionRe: regarding xml serialization Pin
ksrs5-Jun-07 7:38
ksrs5-Jun-07 7:38 
QuestionRe: regarding xml serialization Pin
ksrs5-Jun-07 7:47
ksrs5-Jun-07 7:47 
AnswerRe: regarding xml serialization Pin
Giorgi Dalakishvili5-Jun-07 8:01
mentorGiorgi Dalakishvili5-Jun-07 8:01 
GeneralRe: regarding xml serialization Pin
ksrs5-Jun-07 8:11
ksrs5-Jun-07 8:11 
AnswerDon't Repost Pin
Sathesh Sakthivel5-Jun-07 15:26
Sathesh Sakthivel5-Jun-07 15:26 
QuestionMath/Algebra library: parsing and proccessing functions Pin
Maverickx895-Jun-07 5:51
Maverickx895-Jun-07 5:51 
AnswerRe: Math/Algebra library: parsing and proccessing functions Pin
originSH5-Jun-07 6:08
originSH5-Jun-07 6:08 
GeneralRe: Math/Algebra library: parsing and proccessing functions Pin
Maverickx895-Jun-07 6:36
Maverickx895-Jun-07 6:36 
QuestionSetting a variable value from an array. Pin
jblouir5-Jun-07 5:42
jblouir5-Jun-07 5:42 

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.