just single dll per project?

Discussion about everything. New games, 3d math, development tips...
Post Reply
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

just single dll per project?

Post by Virion »

:?: Just wondering, let's say I am doing a project; I uses Irrlicht, IrrKlang, IrrNet etc. Is it possible I can make one single dll which contains all the things from those 3 seperated dlls? And I don't need the 3 dlls anymore just one dll in my project directory.
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

I guess you'd have to get the sources of each engine and compile them all into one dll yourself, shouldn't be too hard. I don't believe there's anyway to compile dlls together without using the original source, though i could be wrong.
Image Image Image
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Compile as static libraries and you won't have any DLLs to worry about, they'll be compiled into your exe.
irrKlang is available as a static library if you buy the pro version (65€).
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

JP wrote:I guess you'd have to get the sources of each engine and compile them all into one dll yourself, shouldn't be too hard. I don't believe there's anyway to compile dlls together without using the original source, though i could be wrong.
There are programs to "pack" dll files into the executables later on - at least for VB6 I've seen some. Don't know how they work (changing import table to point to the executable file itself?), but think it's more work than just recompiling your own static/dynamic library.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply