Welcome to Dream.In.Code
Become an Expert!

Join 149,609 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,868 people online right now. Registration is fast and FREE... Join Now!




Allegro

 
Reply to this topicStart new topic

Allegro

k0b13r
26 Aug, 2007 - 07:05 AM
Post #1

D.I.C Head
Group Icon

Joined: 18 Jul, 2006
Posts: 198



Thanked: 1 times
Dream Kudos: 250
My Contributions
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
User is offlineProfile CardPM
+Quote Post

Evilish
RE: Allegro
30 Aug, 2007 - 10:30 PM
Post #2

New D.I.C Head
*

Joined: 6 Jul, 2007
Posts: 4


My Contributions
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

This post has been edited by Evilish: 30 Aug, 2007 - 10:30 PM
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Allegro
31 Aug, 2007 - 03:06 AM
Post #3

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,136



Thanked: 76 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
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.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 12:10AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month