How to Embed Dll inside exe in visual studio 2017 Solution

Shail Shah 1 Reputation point
2021-03-24T17:57:32.27+00:00

We are trying to embed dll inside exe.

Could please provide steps to embed dll inside exe?
Is it required to create separate dll project and we need to add reference?

Developer technologies | C++
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2021-03-24T18:21:10.337+00:00

    As you tagged C++,
    in C++, you just add it as binary resource.
    Then FindResource, CreateFile, LoadResource, LockResource, WriteFile, CloseHandle
    to extract it

    0 comments No comments

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.