Tech Support > Microsoft Windows > Development Resources > Sharing a Device Context between two executables
Sharing a Device Context between two executables
Posted by Allan M on July 31st, 2004


Is it OK to create a device context (specifically a printer DC) in one
program, and then use it in another program?

I have a program which does this and it works fine in Windows 98
environment, but not under Windows 2000. I am thinking that it may be
something to do with this.

Any help?




Posted by Sten Westerback on August 3rd, 2004



"Allan M" <allanm1@ihug.co.nz> wrote in message
news:cefak8$sqb$1@lust.ihug.co.nz...

Yes because of proper interprocess protection.



- Sten




Similar Posts