Simple answer : Yes, lots of different ways.
Which is the best/most appropriate will depend on precisely what sort of information, what frequency, what volume etc... A shared memory mapped file allows two applications to share a piece of memory, which can provide the basis for very direct IPC (inter-process communication) but you have to provide synchronisation around the comms (tho I imagine you could find some libraries that wrap this up for you - I had one myself at one time - it's not that hard - tho finding one that services both C# and Delphi could limit the options). You could use TCP/IP between the two processes. Named pipes are another option. Even basic Windows messaging might suffice, depending on your needs. I shall stop now and simply point you at: http://www.codeproject.com/KB/threads/Win32IPC.aspx Hope that helps. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Bob Pawley Sent: Tuesday, 14 December 2010 08:31 To: delphi@delphi.org.nz Subject: [DUG] Delphi talking to C# Hi I have two applications. One is written in Delphi. The other in MS C#. I need to communicate between the two. I use text files and filewatcher now, but that seems kind of crude and the information is visible to the user. I know I can use ShellExecute to open one app from the other app, but that seems to be its extent. Is there some other way of sending information back and forth?? Bob
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe