Mailslots

  • Thread starter Thread starter GTi
  • Start date Start date
G

GTi

Is Mailslots gone in .NET C# CLR 2.0 ?
We have some Win32 applications using mailslots to communicate with
each other in the same domain. Now we want to create a new project
using c# but we still need to use mailslots for communication.
 
GTi,

There is nothing that allows you to use mailslots out of the box in .NET
2.0, but you can make the calls to the mailslot functions through the
P/Invoke layer (and from what I can tell, there are only three, so it
shouldn't be hard).

Hope this helps.
 
Nicholas,
Thanks for your reply.
I know that I can Invoke it, but I needed to be sure that it wasn't in
the CLR.

Tx.
 
You may want to think about making Remoting-MailSlot gateway library. That
way you only have to do it once and leverage for all your .net apps.
 
Back
Top