Click here to Skip to main content
16,012,173 members
Home / Discussions / C#
   

C#

 
QuestionWhy casting on enum member? Pin
Diana Fernandez20-Oct-04 20:52
Diana Fernandez20-Oct-04 20:52 
AnswerRe: Why casting on enum member? Pin
Colin Angus Mackay20-Oct-04 21:28
Colin Angus Mackay20-Oct-04 21:28 
GeneralXML Serialization Pin
Guillermo Jimenez20-Oct-04 19:33
Guillermo Jimenez20-Oct-04 19:33 
GeneralRe: XML Serialization Pin
Nick Parker27-Oct-04 18:02
protectorNick Parker27-Oct-04 18:02 
GeneralCrystal Reports Dynamic! Pin
RADSGR20-Oct-04 19:28
RADSGR20-Oct-04 19:28 
QuestionBug in DateTimePicker control??? Pin
Luis Alonso Ramos20-Oct-04 16:12
Luis Alonso Ramos20-Oct-04 16:12 
GeneralWindow messaging for IPC Pin
ppp00120-Oct-04 14:27
ppp00120-Oct-04 14:27 
GeneralRe: Window messaging for IPC Pin
Heath Stewart20-Oct-04 16:16
protectorHeath Stewart20-Oct-04 16:16 
pyhtang1 wrote:
Is RegisteredWindow Message supported on Window 98 and Window ME also ?

Check out the documentation for the function in the MSDN Library[^] for questions like these. In this case - if you understand what RegisterWindowMessage does - the answer should be obvious. You can't send unique messages without registering them.

What's best? Whatever is best for your situation. If you're communicating between two managed applications, I would not recommend Windows messaging. Use .NET Remoting with a TcpChannel. In .NET 2.0 they are also adding an IpcChannel which, IIRC, uses named pipes. Both are pretty fast, though there's a little extra overhead for using a TcpChannel. You could even create your own channel like the IpcChannel now - .NET Remoting is extensible enough.

If this was a named application, you could use Windows messaging, global memory, DDE, and anything else you can think of (you can use these in .NET, but often the overhead of P/Invoking what's required and marshaling isn't worth the trouble; .NET Remoting provides a rich RPC experience, too).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Window messaging for IPC Pin
Alex Korchemniy20-Oct-04 19:37
Alex Korchemniy20-Oct-04 19:37 
GeneralPassing a controller object Pin
RikB20-Oct-04 14:09
RikB20-Oct-04 14:09 
GeneralRe: Passing a controller object Pin
perlmunger21-Oct-04 7:25
perlmunger21-Oct-04 7:25 
GeneralNetwork in C#: how to detect that I have a break connection Pin
youssef20-Oct-04 12:24
youssef20-Oct-04 12:24 
GeneralRe: Network in C#: how to detect that I have a break connection Pin
Heath Stewart20-Oct-04 16:36
protectorHeath Stewart20-Oct-04 16:36 
QuestionRegional parameters : how to change the langage of the system ? Pin
youssef20-Oct-04 12:24
youssef20-Oct-04 12:24 
AnswerRe: Regional parameters : how to change the langage of the system ? Pin
Nick Parker20-Oct-04 16:51
protectorNick Parker20-Oct-04 16:51 
GeneralVery Simple question Pin
ben220-Oct-04 11:52
ben220-Oct-04 11:52 
GeneralRe: Very Simple question Pin
Dave Kreskowiak20-Oct-04 12:24
mveDave Kreskowiak20-Oct-04 12:24 
GeneralUser Control Arrow Keys Not Being detected Pin
R2B220-Oct-04 11:22
R2B220-Oct-04 11:22 
GeneralProblem with designer and custom UI editor Pin
object8820-Oct-04 9:52
object8820-Oct-04 9:52 
GeneralRe: Problem with designer and custom UI editor Pin
Heath Stewart20-Oct-04 10:12
protectorHeath Stewart20-Oct-04 10:12 
GeneralRe: Problem with designer and custom UI editor Pin
object8820-Oct-04 10:35
object8820-Oct-04 10:35 
GeneralRe: Problem with designer and custom UI editor Pin
object8820-Oct-04 11:07
object8820-Oct-04 11:07 
GeneralRe: Problem with designer and custom UI editor Pin
Heath Stewart20-Oct-04 13:33
protectorHeath Stewart20-Oct-04 13:33 
GeneralRe: Problem with designer and custom UI editor Pin
Heath Stewart20-Oct-04 13:34
protectorHeath Stewart20-Oct-04 13:34 
GeneralConfigurationSettings.AppSettings Pin
Guillermo Jimenez20-Oct-04 5:50
Guillermo Jimenez20-Oct-04 5:50 

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.