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:
- Using SendMessage- In which data's will be sent in batch.
- 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