MemoryModule
MemoryModule copied to clipboard
Library to load a DLL from memory.
Maybe I'm just not looking in the right places but it looks like the reference counting is not implemented. > The system maintains a per-process reference count on all loaded...
Is there a chance to debug functions which were loaded from memory? I guess the debugger is not notified about the dynamically loaded module. Great library! Thank you :+1:
I recently tried to load a DLL that had a dependency on a Windows Side-by-side assembly, specifically MSVCRT90.DLL. Due to the way that WinSxS assemblies are loaded from the assembly...
my code: typedef BOOL (WINAPI\* P_EnumWindows)( _In_ WNDENUMPROC lpEnumFunc, _In_ LPARAM lParam ); P_EnumWindows g_pEnumWindows = NULL; BOOL CALLBACK EnumWndProc(HWND hWnd, LPARAM lParam) { UNREFERENCED_PARAMETER(lParam); TCHAR lpWinTitle[MAX_PATH] = {0}; ::GetWindowText(hWnd,lpWinTitle,MAX_PATH...