Rafael Castro
Rafael Castro

Reputation: 609

Compile a C++/SDL with static library?

In Windows system I need to keep all those .dll files in the same as my .exe? I wish I could just merge all files in one single .exe, there is any way how?

I am a Linux and Windows user, in Linux I only use the terminal, but in Windows I use CodeBlocks!

Upvotes: 0

Views: 751

Answers (1)

khajvah
khajvah

Reputation: 5090

dlls in windows are like .so in linux, they are made to be separate. If you want to merge a library, don't use dll, use static library instead (.lib)

Edit: If you are not writing the library (somebody already gave you the dll), take a look at this

Upvotes: 1

Related Questions