Things will be much more compilcated if you want the SDI and the dialog in two different applications. You will need to use one of the
Inter process communication[
^] technique. It is a bit difficult to guide in which is the most appropriate because you didn't provide a lot of information about what should be exchanged precisely.