Interprocess Communication

R

ribaud

Hi all,

i am working on a communication method between two apps.
the first app is a pure c++ project, potentially usable on windows and linux.
the second app will be a dotnet app using winforms. it will give orders to the first app. winforms are used to make a good looking and simple interface for third party users.
The communication method must be usable on linux in order to create a third app which could also run on linux. (maybe using mono? i dont know for now how it is working)

I found several solutions :

- Named pipes : good but not usable under win98/95 so i cant use this
- Remoting in Net : same and linux problems
- ...

Do you have an idea ?


thx you ^^

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
A

adebaene

Hi all,

i am working on a communication method between two apps.
the first app is a pure c++ project, potentially usable on windows and linux.
the second app will be a dotnet app using winforms. it will give
orders to the first app. winforms are used to make a good looking and
simple interface for third party users.
The communication method must be usable on linux in order to create a
third app which could also run on linux. (maybe using mono? i dont know
for now how it is working)
I found several solutions :

- Named pipes : good but not usable under win98/95 so i cant use this
- Remoting in Net : same and linux problems

- Sockets.
- Higher-level network mechanism, such as Corba or Web Services.

Arnaud
MVP - VC
 
B

Bruno van Dooren

- Named pipes : good but not usable under win98/95 so i cant use this
do you really want to support 9x?
i would advise against this.
- Remoting in Net : same and linux problems
- ...

Do you have an idea ?
i am in the same situation. i am developing software that has to run on
linux, but i do development crossplatform on windows because of visual
studio's debugging capabilities.

i have implemented fifo queues that use shared memory. one program puts
messages in on one end, and the other program reads them.

i took care of the cross platform problems by declaring base classes for
semaphores and shared memory with #ifdef constructs for compiling on linux
and windows.

now i have a complete cross platform application framework, implemented in
native C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top