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

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- 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

LoadLibrary

Developers may discuss here
Post Reply
RomekAtomek
Posts: 3
Joined: 2020-07-02 23:48

LoadLibrary

Post by RomekAtomek »

Hi,

The user32.dll library is loaded twice in the constructor vncDesktopThread. What is a cause of it?

vncDesktopThread() {
m_returnsig = NULL;
user32 = LoadLibrary("user32.dll"); // here
MyGetCursorInfo=NULL;
if (user32) MyGetCursorInfo=(_GetCursorInfo )GetProcAddress(user32, "GetCursorInfo");
g_DesktopThread_running=true;
m_lLastMouseMoveTime = 0L;
hUser32 = LoadLibrary("user32.dll"); // and here

best regards
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: LoadLibrary

Post by Rudi De Vos »

done
Post Reply