473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Mailslots

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.

Nov 17 '05 #1
3 1937
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 Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"GTi" <tu****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
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.

Nov 17 '05 #2
GTi
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.

Nov 17 '05 #3
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.

--
William Stacey [MVP]

"GTi" <tu****@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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.

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ted | last post by:
Is it possible to use mailslots in .NET using PInvoke? I have a VC++ 6.0 based app that creates and listens to a mailslot. I have a second VC++ 6.0 based app that opens the mailslot and writes...
1
by: aherzallah | last post by:
Hi every one can anyone help me on how can I create/write/read from a MailSlot in .NET using C#, just like the windows API CreateMailslot, (in case still not clear please see the link...
17
by: Mark Rae | last post by:
Hi, I have a WinForms desktop MDI application written in C#. Following advice from others in this forum, I prevent multiple instances of the app running at the same time by creating / trying to...
7
by: A.M | last post by:
Hi, What is the best way to implemet Inter Process Communication in .NET ? I developed two programs and I want to have them talk to each other. Thanks, Alan
2
by: GTi | last post by:
I have a C# and a C++ (.NET 2.0) NT Service program running on a computer. How can I send smaal messages between this programs (flags etc). And if I decide to splitt this programs on two computers...
4
by: GTi | last post by:
I have a program that will act as an Remoting server AND client. This program can be loaded on one macine or it can be loaded on several machines. But it will only be one master program...
2
by: Jim Lin | last post by:
Has anyone successfully implemented a mailslot in VB.NET? The few examples I've been able to find in VB are written in VB 6. Most of the examples I've run across are written in C and about 10...
4
by: Rainer Queck | last post by:
Hi NG, I am working on a project in VS2005 that has to comunicate with an older application, using MailSlots. As far as I know, I have to use pInvoke to achieve this. It would be greate, to...
1
by: doc123 | last post by:
Hello, I am having trouble finding much information about how to implement Mailslots with VB.NET. This code works successfully when run on the same PC for all three steps: Create Mailslot, Write...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.