.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:

  1. Use SendMessage- What data will be sent in batch?
  2. Use an intermediate file
  3. 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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -