c++ load dll from resource directly

Code Wanderer 396 Reputation points

I want load dll from resource. Unfortunately I can only find examples for load dll with unpack the dll in to disk and then load it from LoadLibrary. But I want load it directly from memory if possible. How to do that?

FindResource and LoadResource load the dll to memory but I can't find how to use it for GetProcAddress

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,906 questions
{count} votes