Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Cross process GDI Drawing using MFC

$
0
0

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.

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.

But now, how do we do cross-process drawing? Is there any way to do this stuff using plain GDI or MFC?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>