c++ load dll from resource directly

Code Wanderer 396 Reputation points
2020-08-23T17:37:54.61+00:00

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.
2,651 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.