<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Give my allegro games to other people</title>
		<link>http://www.allegro.cc/forums/view/590152</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 21 Feb 2007 00:00:56 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi,</p><p>i got no idee what coul be wrong.<br />It will not work</p><p>a simple example:</p><p>I have build a beginner code:</p><p>#include &quot;allegro.h&quot;<br />int main(int argc, char **argv)<br />{<br />allegro_init();<br />allegro_message(&quot;Hallo Welt!&quot;);<br />}</p><p>END_OF_MAIN();</p><p>and send the exe to a friend<br />but he said the he couldnt run it<br />and that theres everytime an erro message</p><p>but i could run it without problems</p><p>Is there any way to clear that problem?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Max S)</author>
		<pubDate>Mon, 19 Feb 2007 23:32:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>We are not psychic. We can&#39;t guess what error messages you are getting. And you haven&#39;t even read the FAQ from what I can see.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (X-G)</author>
		<pubDate>Mon, 19 Feb 2007 23:32:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ok it was the alleg40.dll
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Max S)</author>
		<pubDate>Mon, 19 Feb 2007 23:50:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
alleg40.dll
</p></div></div><p>

And you are using Allegro 4.0 because...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CursedTyrant)</author>
		<pubDate>Tue, 20 Feb 2007 05:12:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>is that alright ? <br /><span class="source-code"> <span class="k1">char</span> <span class="k3">*</span><span class="k3">*</span>argv<span class="k2">)</span></span></p><p>a poitner to pointer ?<br />use a single pointer then... and try.</p><p>ciao
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LordHolNapul)</author>
		<pubDate>Tue, 20 Feb 2007 05:18:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
... no, that&#39;s entirely correct. Stop giving shoddy advice.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (X-G)</author>
		<pubDate>Tue, 20 Feb 2007 05:22:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Max S:</p><p>When you sent that code to your friend, did you already compile the program, or just sent it as a text file?</p><p>If a text file so your friend could compile it himself, then your friend needs to have:<br />1) A compiler<br />2) Allegro, compiled and ready-to-go<br />3) Allegro&#39;s libraries somewhere in the path.</p><p>If you sent the resulting executable from compiling it himself, then your friend does not have the Allegro DLL.  Put the DLL either in the same directory as the executable you sent him, or somewhere common like &quot;C:\Windows\System32&quot;, or else compile that program yourself as STATIC so the Allegro DLL is included and he won&#39;t need to get the DLL separately.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (TeamTerradactyl)</author>
		<pubDate>Tue, 20 Feb 2007 07:54:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
ok it was the alleg40.dll
</p></div></div><p>
I think the OP has worked out what the problem was.</p><p>[edit]<br />However, I agree with TT that Statically linking the dll, as this does seem an easier way of distributing the program.<br />[/edit]
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (HardTranceFan)</author>
		<pubDate>Tue, 20 Feb 2007 08:34:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For small programs, static-linking often means that there is only the .exe to distribute, nothing else, which is a good thing.<br />Larger projects often come with an editor, one or more datafiles, and a more or less complex directory structure; these will have to be zipped anyway, and the benefit of static-linking is gone. In those cases, if more than one .exe in the package uses allegro, dynamic linking is usually a better choice (re-uses code at run-time).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Tobias Dammers)</author>
		<pubDate>Tue, 20 Feb 2007 19:08:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok, <br />here is the next problem:</p><p>#include &lt;allegro.h&gt;</p><p>int main(int argc, char *argv[])<br />{<br />allegro_init();<br />install_keyboard();</p><p>set_color_depth(32);<br />set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);</p><p>BITMAP *my_pic = load_bitmap(&quot;C:\Programmierung\life.bmp&quot;,NULL);</p><p>acquire_screen();<br />clear(screen);</p><p>blit(my_pic, screen, 0, 0, (SCREEN_W  - my_pic-&gt;w)/2, (SCREEN_H - my_pic-&gt;h)/2, my_pic-&gt;w, my_pic-&gt;h);<br />release_screen();<br />readkey();</p><p>destroy_bitmap(my_pic);</p><p>while(!keypressed());</p><p>}END_OF_MAIN()</p><p>what could be wrong with this code???<br />i could compile it but if I start it the programm chrashes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Max S)</author>
		<pubDate>Tue, 20 Feb 2007 20:17:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>1) Edit both your posts to use code tags so they&#39;re actually readable. See the &quot;Help&quot; tab for how to use them.<br />2) You&#39;re neither checking set_gfx_mode() nor load_bitmap() to see if they succeed or not (hint: the path you&#39;re giving load_bitmap() is not what you think it is).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (gnolam)</author>
		<pubDate>Tue, 20 Feb 2007 20:43:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>^<br />|<br />What gnolam said.</p><p>C needs you to write \\ when you mean a single \ as a character.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Tue, 20 Feb 2007 21:05:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>finally it works!</p><p>sorry for my stupid questions. I havent written codes since 2 years.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Max S)</author>
		<pubDate>Tue, 20 Feb 2007 21:56:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
C needs you to write \\ when you mean a single \ as a character.
</p></div></div><p>
Wouldn&#39;t a / suffice?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CursedTyrant)</author>
		<pubDate>Tue, 20 Feb 2007 22:06:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For all Allegro functions, yes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Tue, 20 Feb 2007 22:40:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For <i>all</i> C file I/O functions.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (gnolam)</author>
		<pubDate>Tue, 20 Feb 2007 22:43:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, gnolam, this is news for me, and completely true.<br />Here&#39;s a long thread that explains the issue:<br /><a href="http://mail.python.org/pipermail/python-list/2003-September/226671.html">http://mail.python.org/pipermail/python-list/2003-September/226671.html</a><br />To make it short:<br />Internally, DOS has &quot;always&quot; accepted &#39;/&#39; as well as &#39;\&#39;, but up to windows 98 and 2000 included, the shell refused &#39;/&#39; in command names, and in the arguments of its shell commands (cd, copy, etc).</p><p>Now does every program today accept both? Notepad.exe on winXP still refuses to save c:/test.txt... <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Tue, 20 Feb 2007 23:50:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Now does every program today accept both?
</p></div></div><p>It&#39;s a valid filename, but Notepad is using Windows file <i>naming</i> functions, which, among other things, say that &quot;/&quot; is an invalid filename character (what the problem is is that it&#39;s a directory separator in this case, not a file name).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 21 Feb 2007 00:00:56 +0000</pubDate>
	</item>
</rss>
