Hi. This is not strictly game programming releted but ... I wrote some code using Allegro library, and I wanted to give .exe to my friend. He told me that program outputs error "missing alleg24.dll". I understand this, but what should I do to join it to .exe file ? I'm using Code::Blocks 1.0RC2 .
Thanks for fast answer
Allegro
Page 1 of 12 Replies - 2183 Views - Last Post: 31 August 2007 - 04:06 AM
Replies To: Allegro
#2
Re: Allegro
Posted 30 August 2007 - 11:30 PM
Allegro comes with the alleg24.dll file, he needs to have that in the same directory as the .exe to play
Don't think you can include the .dll code in your .exe
Don't think you can include the .dll code in your .exe
This post has been edited by Evilish: 30 August 2007 - 11:30 PM
#3
Re: Allegro
Posted 31 August 2007 - 04:06 AM
Just as a software set installs all required libraries (dlls & such) when you install a new piece of software, you'll need to provide the dll with your exe to your friend. The only way to avoid this is to not use functions that require such libraries. Or build yourself a custom header using the defines... but this usually doesn't work unless you know exactly how the software works with the dll.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|