when to use DLLs
I'm about to start making a game and was wondering what I should put into DLLs and what I should leave in the EXE.
Should I split DLLs just like files and have many of them, so if I want to update any part of the game chances are the download needed wouldn't be too large?
Please ust give me all the info you have. This is my first main project and was just wondering how I should go about it.
Thanks for any info
Tera_Dragon
Edit: Sorry, I posted this in the wrong topic. I meant to post it in the game programming topic.
When to use DLLS:
1. Never, under any circumstances
2. If your boss insists absolutely unshakably that you have to
3. If you're clinically insane... mooo baaa wibble I'm a fish...
Seriously, static libraries work the same, except require less effort to make them work and there are no additional issues surrounding them.
If you are worried about your .exe being too large, wait until it is first, then sort it out :)
Mark
1. Never, under any circumstances
2. If your boss insists absolutely unshakably that you have to
3. If you're clinically insane... mooo baaa wibble I'm a fish...
Seriously, static libraries work the same, except require less effort to make them work and there are no additional issues surrounding them.
If you are worried about your .exe being too large, wait until it is first, then sort it out :)
Mark
Quote:
1. Never, under any circumstances
2. If your boss insists absolutely unshakably that you have to
3. If you're clinically insane... mooo baaa wibble I'm a fish...
Obviously, from an informed source.
the correct answer is, when you need to be able to link to code dynamicly, e.g. a plugable rendering interface.
the DLL is a very useful technology, wherein it's main drawback is loss of cross platform support.
Quote:Original post by EDI
wherein it's main drawback is loss of cross platform support.
If your just referring to PC cross-platform support (Windows, Linux, MacOS being the main contenders) then that isn't true. Linux and MacOS have dynamic libraries as well and it takes no more to provide cross-platform support than it would for any other system-dependant code (such as windowing). Hell, if anything it's easier than getting cross-platform windowing :)
Having said that, I don't know whether consoles support dynamic libraries. Probably the XBox, *maybe* the PS2 and GameCube but beyond that I'd be surprised if they do.
Quote:Original post by joanusdmentia
Having said that, I don't know whether consoles support dynamic libraries. Probably the XBox, *maybe* the PS2 and GameCube but beyond that I'd be surprised if they do.
No, none of them do.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement