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++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 91,281 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.