Edigin
2011-10-10 13:39:37 UTC
I have a mirror driver for screen capture and a recording application
that works on XP and Windows 7 32bit. On Windows 7 64 bit, the call
to CreateDC fails with a last error = 0;
hdc = GDI32.CreateDC(driverName, devName, null, ref
devmode);
I am running in Session 1 as an application.
devName = "\\\\.\\DISPLAYV4"
There are 5 virtual displays and CreateDC fails on all of them not
just my mirror driver. I can CreateDC for DISPLAY1. Is there some
reason this code will run on 32bit Windows 7 and not 64bit? Is there
a reason you can't CreateDC on a virtual display in x64 Windows 7.
that works on XP and Windows 7 32bit. On Windows 7 64 bit, the call
to CreateDC fails with a last error = 0;
hdc = GDI32.CreateDC(driverName, devName, null, ref
devmode);
I am running in Session 1 as an application.
devName = "\\\\.\\DISPLAYV4"
There are 5 virtual displays and CreateDC fails on all of them not
just my mirror driver. I can CreateDC for DISPLAY1. Is there some
reason this code will run on 32bit Windows 7 and not 64bit? Is there
a reason you can't CreateDC on a virtual display in x64 Windows 7.