title: Cross process GDI Drawing using MFC
body: <p>I have a huge MFC MDI application that draws on its scrollable view area using device context. This application uses a 3rd party library to do some additional drawing in the same view area. It works by passing the DC (Device Context) of the view area to this 3rd party library (dll) and then the DLL does the additional drawing which is pretty complex.</p>
  
  <p>However, we are converting our whole application to 64 bit and the problem is that we do not have 64 bit version of this 3rd party library. Which leaves us with one option only and that is to move this 3rd party library to a separate process and then make out-of-process calls between our main Application and this new Process hosting this 3rd party library.</p>
  
  <p>But now, how do we do cross-process drawing? Is there any way to do this stuff using plain GDI or MFC?</p>