I'd like to use LibSndFile in my project. It provides a set of dlls for x32 and x64 but I'd like to get rid of dlls. Is it possible to build .lib files from the source codes and then get rid of the dll?

I don't want .dlls because you have to copy them into the Windows folder for your program to work and I would prefer to have only one big file with everything in it (and yes I tried ILMerger or IlRepack, etc without success)

有帮助吗?

解决方案

You can read this thread: How to convert a dynamic dll to static lib?

And then you can try Enigma Virtual Box: http://enigmaprotector.com/en/aboutvb.html The last one allows you to package all your files (dlls and resources) into a single executable.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top