I've seen that NetNamedPipeBinding exists in C# and in C++ (source) and I would like to know if it's possible to use it to transmit datas between a C++ program and a C# application?
NetNamedPipeBinding between C# and C++
1.9k Views Asked by darkheir At
2
There are 2 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in WCF
- couldn't copy pdb file to another directory while consuming wcf web service
- Call wcf from android app
- WCF Service not accepting multiple body parameters
- Error in Calling some service in WCF Client
- WCF channel Factory caching
- How to convert a List<string> to an IEnumerable<ServiceReference.datatable> C# Silverlight WCF RIA Services LINQ to SQL
- WCF reusing types with inheritance - cannot generate client code
- System.ServiceModel.FaultException'1' Where might the error be?
- How to configure proxy address for multiple WCF-bindings at once?
- How pass XML from PHP to the Soap WCF service?
- Multiple service contract inter-commnication
- WCF Service not returning virtual property ServiceProvider
- How to get information about error from HttpContext in WCF services
- Using Service Bus to access On Premise WCF Service
- Test case for WCF REST Service
Related Questions in NAMED-PIPES
- C++ to C# named pipe hangs on client read
- PsExec fails to open the stdin, stdout and stderr named pipes
- Stubbing WinBase.h in cppunit test
- Pipe ffmpeg output to named pipe
- Copy *unbuffered* stdout to file from within bash script itself
- WPF and WCF with Named Pipes
- Delphi Write Multi parameters in Named Pipes
- Cannot reopen FIFO when the same process uses both ends of the FIFO
- C# NamedPipeServerStream Ping pong
- Program running mkfifo doesn't work
- Usage of ReadFile(Ex) with BindIoCompletionCallback
- SQL Server SQLState = 08001 NativeError = 2 while establishing connection
- Anonymous pipes: ReadFile in parent process keeps on waiting when the child process is killed
- C++ Named Pipes over network invalid name error
- How should QLocalSocket/QDataStream be read to avoid deadlocks?
Related Questions in NETNAMEDPIPEBINDING
- How to cross a session boundary using a WCF named pipe binding?
- Securing the named pipe used by WCF
- WCF NamedPipe: PerSession-Single or Singleton-Multiple
- WCF with netNamedPipeBinding bad performance
- Reentrant duplex communication with WCF
- How can I diagnose the cause of a WCF Service Timeout?
- Security to Wcf Service hosted on windows service with NetNamedPipeBinding
- Pass Exception and Subclasses over NamedPipe
- WCF ServiceDebugBehavior IncludeExceptionDetailInFaults = true
- Anyone got IIS working reliably as a WCF client
- Named pipe not found when using WCF netNamedPipeBinding
- is NetNamedPipeBinding safe?
- NetNamedPipeBinding between C# and C++
- How to secure NetNamed Pipe binding?
- WCF client not working after add a customer binding endpoint to the same ServiceHost
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If your C++ compiler is a recent version of Visual C++, with all the extensions to support writing managed code, then you can use WCF easily to pass data between a C++ program and a C# application.
If your C++ compiler doesn't support managed code extensions, you can still do it but it is a lot of work, because the WCF channel stack uses some layered proprietary protocols for message framing, security negotiation and message encoding, which you would need to reimplement on the C++ side if you can't use the managed implementation provided by WCF. See for example this question for the kind of issues which arise.
If you can't do managed C++ it is often much easier to forego some of the benefits provided by WCF and, depending on your requirements, either to: