Is File good for Interprocess communication

Posted by Karthik on Stack Overflow See other posts from Stack Overflow or by Karthik
Published on 2010-06-14T06:17:08Z Indexed on 2010/06/14 6:22 UTC
Read the original article Hit count: 251

Filed under:
|

Hi, I have an EXE and DLL running in different process. From DLL I have to send large of amount of data to EXE, which would vary from 50 chars to 2000 chars and more(The data is recordid of records saved in DB).

    I thought about two options to do that:

    1. Using SendMessage- In which data's will be sent in batch.
    2. Use an Intermediate file to transfer data.

Can anyone list out the pros and cons of methods.

 I have developed my components using C#.NET

Thanks you folks.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about general-development