Embedded a *.exe into a dll

前端 未结 5 1474
一个人的身影
一个人的身影 2020-12-16 05:15

does somebody know how can I embedd an exe file into a dll ?

I have a tool which is an exe file that I call from c# code.

The thing is that I want to have 1

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 05:48

    An alternative may be to not embed the .exe itself, but rather include its functionality in the dll, and use rundll32[1] to execute it.

提交回复
热议问题