找了个7z的Delphi源码,发现MemLibLoader未开源,其实就是从内存中调用DLL函数,从网上找了些代码拼了一个,以下函数申明方式全部从MemLibLoader照抄function_LoadLibraryA(FileName:PAnsiChar):DWORD;function_LoadLibraryW(FileName:PWideChar):DWORD;function_LoadLibraryFromResourceA(Instance:DWORD;Name,ResType:PAnsiChar):DWORD;function_LoadLibraryFromResourceW(Instance:DWORD;Name,ResType:PW