LoadLibrary

Developers may discuss here.

LoadLibrary

Postby RomekAtomek » 2020-07-03 19:46

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
RomekAtomek
 
Posts: 3
Joined: 2020-07-02 23:48

Return to Developer discussions (mainly user-mode)

Who is online

Users browsing this forum: No registered users and 2 guests