/RemoteLoadLibrary

LoadLibrary across the PC

Primary LanguageC++

RemoteLoadLibrary

Main Content

LoadLibrary across the PC

Load The Library in remote server

HMODULE LoadLibraryByRemoteServer(
    __in LPCWSTR lpLibPath,                #Remote Path About Dll  (\\192.168.0.1\test.dll)
   __in LPCWSTR lpUsername,                #Remote UserName (Administrator)
    __in LPCWSTR lpPassword                #Remote Password 
);
Return:Library Handle

Free Library

BOOL FreeLibraryByRemoteServer(
    __in HMODULE hRemoteLib                #Library Handle returned from LoadLibraryByRemoteServer
);