mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[proxy,modules] use GetModuleHandleA to load static
when loading static modules use GetModuleHandleA to allow this to work with windows as well.
This commit is contained in:
@@ -484,7 +484,7 @@ static BOOL pf_modules_load_static_module(const char* module_name, proxyModule*
|
||||
{
|
||||
WINPR_ASSERT(module);
|
||||
|
||||
HANDLE handle = LoadLibraryX(NULL);
|
||||
HANDLE handle = GetModuleHandleA(NULL);
|
||||
|
||||
if (handle == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user