What are the dis/advantages of each of them?
Thanks in advance
![Smile :)](./images/smilies/icon_smile.gif)
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
1. Why would you need N files when you Don't use static lib? - I mean I don't understand which problem does it solves?Sylence wrote:A static library is great when you don't want to release a package of 20 or more files, or if you want to keep the package small (the linker only link code that is actually used).
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
That's easy: use a DLL and forget about static lib. The only reason to use a static lib is if you're too busy to make a .dll or don't know how. I use DLL for everything, and never use static libs.MasterGod wrote:At which situations should I choose to create a DLL/Static library?
That's easy: for the purposes of developing a game, use static libs and forget about DLLs. The only reason to use a DLL is if you're too lazy or impatient to use a static lib or don't know how. I use static libs for everything, and never use DLLs.MasterGod wrote:At which situations should I choose to create a DLL/Static library?
I *think* so. I remember reading a story about someone building an IDE extension with Express (which I think was a DLL) and getting in trouble for it. But, I had the bucks for the full version VS 2005 so I really don't know. For me, its just a matter of picking the right project type when you do "New Project" (under Win32 Application, iirc - I always select Empty Project and set it up manually from there, but you might find the other options useful). If you have that option in Express, that's the way to do it.MasterGod wrote:PS: I don't want to open a new thread about this little question so..: Is it possible to make a dll in vc EXPRESS?
Apologies? - You certainly do not have to. Thank you (and rogerborg) for being that specific, the more specific you are the more I understand and learn.ssexton wrote:Apologies for the size of these responses. SWEng topics like these always make me run long.