473,625 Members | 3,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NamedPipes

Can someone please point me to a web site or other documentation on how to
use named pipes or an example would be nice? We are currently using a private
message queue are are trying to switch to namedpipes because of some issues.
Any help would be appreciated. :)

Thank you,
Susan
Nov 16 '05 #1
3 1281
Remoting will have LPC channel (using NamedPipes) in 2.0. So you could
develope using Remoting today and switch to "LPC://" when that comes out.

--
William Stacey, MVP
http://mvp.support.microsoft.com

"Susan" <Su***@discussi ons.microsoft.c om> wrote in message
news:02******** *************** ***********@mic rosoft.com...
Can someone please point me to a web site or other documentation on how to
use named pipes or an example would be nice? We are currently using a private message queue are are trying to switch to namedpipes because of some issues. Any help would be appreciated. :)

Thank you,
Susan


Nov 16 '05 #2
Both applications are on the same machine and do not need to connect to the
intranet at all. The only reason that there are two applications instead of
being ocmbined into one is because there is no thread safety in the one
application and this was easier to fix with the one application being
separated into two with the "new" app started as a new process and getting
the info it needed through a private message queue. Is remotting still
applicable?

Thanks,
Susan

"William Stacey [MVP]" wrote:
Remoting will have LPC channel (using NamedPipes) in 2.0. So you could
develope using Remoting today and switch to "LPC://" when that comes out.

--
William Stacey, MVP
http://mvp.support.microsoft.com

"Susan" <Su***@discussi ons.microsoft.c om> wrote in message
news:02******** *************** ***********@mic rosoft.com...
Can someone please point me to a web site or other documentation on how to
use named pipes or an example would be nice? We are currently using a

private
message queue are are trying to switch to namedpipes because of some

issues.
Any help would be appreciated. :)

Thank you,
Susan


Nov 16 '05 #3
Yes. The LPC channel was created to address this without going over the
network. But that comes in 2.0. You can still use standard remoting today
and just use the loopback address. Then when 2.0 comes out, you can just
change the URI and everything else should stay the same. One reason why
this may be good for you.

--
William Stacey, MVP
http://mvp.support.microsoft.com

"Susan" <Su***@discussi ons.microsoft.c om> wrote in message
news:2D******** *************** ***********@mic rosoft.com...
Both applications are on the same machine and do not need to connect to the intranet at all. The only reason that there are two applications instead of being ocmbined into one is because there is no thread safety in the one
application and this was easier to fix with the one application being
separated into two with the "new" app started as a new process and getting
the info it needed through a private message queue. Is remotting still
applicable?

Thanks,
Susan

"William Stacey [MVP]" wrote:
Remoting will have LPC channel (using NamedPipes) in 2.0. So you could
develope using Remoting today and switch to "LPC://" when that comes out.
--
William Stacey, MVP
http://mvp.support.microsoft.com

"Susan" <Su***@discussi ons.microsoft.c om> wrote in message
news:02******** *************** ***********@mic rosoft.com...
Can someone please point me to a web site or other documentation on how to use named pipes or an example would be nice? We are currently using a

private
message queue are are trying to switch to namedpipes because of some

issues.
Any help would be appreciated. :)

Thank you,
Susan



Nov 16 '05 #4

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

Similar topics

7
442
by: Daniel | last post by:
I search for a good way to communicate between processes. I have a main application(might be more instances) and an tool that should exchange information such as which user is logged in into the application and more. Now i'm doing it by sending API WM_COPYDATA messages with SendMessage. Our users are identified by a Guid and getting the app user by sending four WM_COPYDATA with kind a "GiveMeUserGuidPart0of4" and putting to gether the 4...
13
23447
by: | last post by:
Hi I am trying to copy a 20 GB database from server 1 to 2. I took a full backup, copied to server2 and restored ( ready for use) using EM. After the message restore completed, I see the database's status as LOADING. We are on Sql Server 2000 (8.00.818) on Windows 2000 Adv Servers. I ran dbcc on the source DB and it returned no errors. I tried the command 'restore db with recovery ' which didnot help. I get an message saying that
3
1715
by: EdgarBM | last post by:
Hi, does anyone know any kind of class from the .NET framework which works like unix pipes? Thank you in advance, Edgar
3
3081
by: Daniel | last post by:
Hi, Does anyone know if it is possible to interact with another console based program. For example, relaying data back and forth between the user and the program. ie. 1. User interacts with C# program. 2. C# program accepts input and sends to console program as if it was std input
3
10509
by: eedych | last post by:
Hi all, as a newbie of C#, I am rather surprised when I saw that the method of System.ServiceProcess.ServiceController - ExecuteCommand(int command) - has only one parameter. What shall I do if I want to send other data contained in a front-end GUI, say a windows form, to my windows service (could be on a remote host)? Following is my code snipper, ------------------------------------------------------------- In MyGui.cs: private void...
2
1415
by: jdkatmsn | last post by:
I'd like to pass a simple string from a VB6 COM (dll) to a c# application (we're new in c#). I need to do this while the c# program is running (IPC, not in the program argument). Can anyone help guide me to the most clean/simple technique?
1
2867
by: Matrix | last post by:
Hello All, I have vendor application that written in VB 6.0 and backend Access 2000 and also send data via client server to SQL server. Now when I try to synch with server I got Error 6: Overflow with NT pro laptop but not on W2K laptop. What could be the cause as specific to platform related? Both OS with up to date on service pack. I tried reinstalling MDAC SP1, tried permission on DCOM, setup client setup to use NamedPipes and TCP/IP...
2
1577
by: TonyJ | last post by:
Hello! I have downloaded a project from the site "The code project" but I get the following 3 compile error. C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.cs(548): Missing XML comment for publicly visible type or member 'AppModule.NamedPipes.SECURITY_ATTRIBUTES.nLength' C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.cs(550): Missing XML
7
7358
by: ahmed.maryam | last post by:
Hi All, I want to set up a named pipe connection between two C# application using visual studio 2005, does anyone know if there are any specific namespaces or system calls that I need to make to access named pipes. Even more important, does the .NET architecture even have support for named pipes? I've looked on MSDN but the only named pipes examples they have are in C++, thanks! ~ Maryam
0
8192
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8696
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7188
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6119
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4195
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1504
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.