Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: Threading Question Pin
Not Active24-Nov-06 7:05
mentorNot Active24-Nov-06 7:05 
AnswerRe: Threading Question Pin
Ami Bar24-Nov-06 11:23
Ami Bar24-Nov-06 11:23 
QuestionCustomizing window forms Pin
Julio Piloto24-Nov-06 5:48
Julio Piloto24-Nov-06 5:48 
AnswerRe: Customizing window forms Pin
Amar Chaudhary24-Nov-06 6:07
Amar Chaudhary24-Nov-06 6:07 
GeneralRe: Customizing window forms Pin
Julio Piloto24-Nov-06 7:22
Julio Piloto24-Nov-06 7:22 
AnswerRe: Customizing window forms Pin
Daniel Grunwald24-Nov-06 8:43
Daniel Grunwald24-Nov-06 8:43 
QuestionA weird problem about Visual Studio 2005 Professional… Please help. Pin
Nadia Monalisa24-Nov-06 5:41
Nadia Monalisa24-Nov-06 5:41 
QuestionReceiving WM_DEVICECHANGE message from a console app Pin
Eberhard Fahle24-Nov-06 5:31
Eberhard Fahle24-Nov-06 5:31 
The task is to do something when my USB-device gets plugged or removed.
I already created some working code using an (invisible) NativeWindow that processes the WM_DEVICECHANGE messages. This has already been covered in several articles.

My Windows.Forms Testapp works fine. The WM_DEVICECHANGE messages are trapped by my window and i can react to it.

But could I do the same thing from a console-app??
I am able to create and register my invisible Window for notifications but the
NativeWindow.Wndproc() method I have override never gets called.

I guess I am missing something very basic here!

Any hints in every language (not tied to c#, I will find my way around) are very Welcome.

Thanks for reading
Eberhard Fahle



AnswerRe: Receiving WM_DEVICECHANGE message from a console app Pin
djlove24-Nov-06 7:41
djlove24-Nov-06 7:41 
QuestionCode Analysis, Thread optimization Pin
Jon Hulatt24-Nov-06 4:41
Jon Hulatt24-Nov-06 4:41 
AnswerRe: Code Analysis, Thread optimization Pin
Amar Chaudhary24-Nov-06 4:47
Amar Chaudhary24-Nov-06 4:47 
GeneralRe: Code Analysis, Thread optimization Pin
Nadia Monalisa24-Nov-06 9:53
Nadia Monalisa24-Nov-06 9:53 
QuestionWhy? Pin
CPallini24-Nov-06 9:58
mveCPallini24-Nov-06 9:58 
GeneralRe: Code Analysis, Thread optimization Pin
Amar Chaudhary24-Nov-06 10:15
Amar Chaudhary24-Nov-06 10:15 
AnswerRe: Code Analysis, Thread optimization Pin
Amar Chaudhary24-Nov-06 6:05
Amar Chaudhary24-Nov-06 6:05 
AnswerRe: Code Analysis, Thread optimization Pin
S. Senthil Kumar24-Nov-06 8:10
S. Senthil Kumar24-Nov-06 8:10 
AnswerRe: Code Analysis, Thread optimization Pin
ejuanpp24-Nov-06 12:55
ejuanpp24-Nov-06 12:55 
QuestionError Code 0Xc0000135 error code Pin
sanki77924-Nov-06 3:17
sanki77924-Nov-06 3:17 
AnswerRe: Error Code 0Xc0000135 error code Pin
Colin Angus Mackay24-Nov-06 3:31
Colin Angus Mackay24-Nov-06 3:31 
GeneralRe: Error Code 0Xc0000135 error code Pin
sanki77924-Nov-06 3:34
sanki77924-Nov-06 3:34 
GeneralRe: Error Code 0Xc0000135 error code Pin
Colin Angus Mackay24-Nov-06 3:35
Colin Angus Mackay24-Nov-06 3:35 
GeneralRe: Error Code 0Xc0000135 error code Pin
Michael P Butler24-Nov-06 4:27
Michael P Butler24-Nov-06 4:27 
GeneralRe: Error Code 0Xc0000135 error code Pin
Amar Chaudhary24-Nov-06 4:49
Amar Chaudhary24-Nov-06 4:49 
GeneralRe: Error Code 0Xc0000135 error code Pin
Pete O'Hanlon24-Nov-06 5:04
mvePete O'Hanlon24-Nov-06 5:04 
QuestionInvoking and killing internet explorer from C# Pin
Dewald24-Nov-06 2:46
Dewald24-Nov-06 2:46 

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.