As Arjay wrote there are many ways to send data between processes, and as Marc G pointed out using WM_COPYDATA is one of the simplest ones providing that both processes are on the same machine/desktop. But there could be also some problems with WM_COPYDATA if someone else (not your sender process) broadcasts it! See this essay:Using WM_COPYDATA