I am trying to use .NET to "tap into" a named pipe created by a non .NET 3rd
party application. Specifically, the application is a table loading utility.
It opens a named pipe and waits for input.
Does anybody know how I can write to the named pipe from a .NET program. I
have tried using the traditional file access methods, and it appears that
pipes have a problem with file streams. I have tried API calls, but since I
do not have the handle of the pipe, I am having a hard time communicating.
Has anyone accomplished this? HELP!
Thanks! 3 2619
Hi,
IIRC .NET do not have support for named piped, you will have to P/Invoke
the API, I have a link in the office and will send it to you tomorrow(
monday ) morning. you could do a search in google though.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"EricR" <Er***@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com... I am trying to use .NET to "tap into" a named pipe created by a non .NET 3rd party application. Specifically, the application is a table loading utility. It opens a named pipe and waits for input. Does anybody know how I can write to the named pipe from a .NET program. I have tried using the traditional file access methods, and it appears that pipes have a problem with file streams. I have tried API calls, but since I do not have the handle of the pipe, I am having a hard time communicating.
Has anyone accomplished this? HELP!
Thanks!
Hi, http://www.gotdotnet.com/community/u...=named%20pipes
Is the link, as I said you should find more details in google
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:uQ**************@TK2MSFTNGP09.phx.gbl... Hi,
IIRC .NET do not have support for named piped, you will have to P/Invoke the API, I have a link in the office and will send it to you tomorrow( monday ) morning. you could do a search in google though.
cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "EricR" <Er***@discussions.microsoft.com> wrote in message news:A3**********************************@microsof t.com...I am trying to use .NET to "tap into" a named pipe created by a non .NET 3rd party application. Specifically, the application is a table loading utility. It opens a named pipe and waits for input. Does anybody know how I can write to the named pipe from a .NET program. I have tried using the traditional file access methods, and it appears that pipes have a problem with file streams. I have tried API calls, but since I do not have the handle of the pipe, I am having a hard time communicating.
Has anyone accomplished this? HELP!
Thanks!
http://www.codeproject.com/csharp/Do...PipesPart1.asp
"EricR" <Er***@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com... I am trying to use .NET to "tap into" a named pipe created by a non .NET 3rd party application. Specifically, the application is a table loading utility. It opens a named pipe and waits for input. Does anybody know how I can write to the named pipe from a .NET program. I have tried using the traditional file access methods, and it appears that pipes have a problem with file streams. I have tried API calls, but since I do not have the handle of the pipe, I am having a hard time communicating.
Has anyone accomplished this? HELP!
Thanks!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Srijit Kumar Bhadra |
last post by:
Hello,
Here is an example of Multithreaded Pipe Server and Client using the
excellent ctypes library (Windows).
Reference - MSDN:...
|
by: Rudolf Bargholz |
last post by:
Hi,
DB2 7.1 FP11
Windows 2000
Earlier this evening, after dropping and recreating a trigger, DB2 locked
up. I am not entirely sure that the cause of the problem was the replacing
of the...
|
by: Spiros |
last post by:
Hi everybody
I am creating an application using VC++ that runs on a terminal server with 30 end users. The end users will use thin clients as front end machines. The application consists of a main...
|
by: FB's .NET Dev PC |
last post by:
I am writing two services in VB.NET, one of which needs to send text strings
to the other. After reading, I
decided (perhaps incorrectly) that named pipes would be the best
interprocess...
|
by: EricR |
last post by:
I am trying to use .NET to "tap into" a named pipe created by a non .NET 3rd
party application. Specifically, the application is a table loading utility.
It opens a named pipe and waits for input....
|
by: olaf.dietsche |
last post by:
Hi,
The system is Windows XP and DB2 v8.1.7.
I'm trying to load a text file via named pipe into a table.
I have two programs:
the first program creates the named pipe, waits for a client...
|
by: a |
last post by:
Hi everybody,
Is it possible to open a named pipe from a php script on Windows?
More specifically, I have a Windows service that receives commands through a
named pipe, and I'd like to open...
|
by: DBC User |
last post by:
Hi all,
I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already...
|
by: andrewb |
last post by:
Hi all,
Having some trouble using named pipes and Visual Basic .NET and would
appreciate and help you could offer.
Essentially I am trying to develop a simple client/server application
that...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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...
|
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,...
|
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...
| |