.net - Is File good for Interprocess communication -
I have an EXE and DLL running in different process DLLs send me a lot of data to EXE, which is 50 characters Will vary from 2000 characters and more (data is recorded in DB records).
I thought about two options to do this:
- Use SendMessage- What data will be sent in batch?
- Use an intermediate file
You can use a named pipe. As long as communication between your two processes is very less, it will fix it, it is very easy to configure, and quite fast.
Here's a suggestion to use shared memory as another answer buffer. It also works, but there is a possibility of more effort. If you take a lot of data between the processes, then it is only worthwhile.
Comments
Post a Comment