After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

UVNC Mirror dricer

Developers may discuss here
Post Reply
ananthonline
Posts: 1
Joined: 2015-05-06 21:42

UVNC Mirror dricer

Post by ananthonline »

I can't seem to initialize the mirror driver with any other bit depth (bits per pixel) than 32. The driver initialization fails in GetDCMirror, specifically:

Code: Select all

m_hrootdc = CreateDC("DISPLAY",deviceName,NULL,NULL);
Is this a limitation of the mirror driver? I need to use this on a machine that only supports 16 or 24 bits per pixel. Is there any way to do this? I appreciate any help you can provide!
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6937
Joined: 2004-04-23 10:21
Contact:

Re: UVNC Mirror dricer

Post by Rudi De Vos »

The mirror driver support 8/16/24/32
You can have a real display in 32bit with a 8bit mirror driver or a 24bit real with a 32bit mirror
The mirror driver is independed of the real display.
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6937
Joined: 2004-04-23 10:21
Contact:

Re: UVNC Mirror dricer

Post by Rudi De Vos »

To init the mirror driver you need to set the correct reg settings and call changedisplaysettings(ex), see the videodriver.cpp
after the mirror driver is active you can call createdc
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
Post Reply