<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1861" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-11-05T13:08:44+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1861</id>

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-11-05T13:08:44+02:00</updated>

		<published>2008-11-05T13:08:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6599#p6599</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6599#p6599"/>
		<title type="html"><![CDATA[HIDdata commandline with error any OS?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6599#p6599"><![CDATA[
When the basis is set to 0, strtol() determines the basis from the number's prefix. If it's 0..., then the number is interpreted as octal, if it's 0x..., then as hex and if it's any other digit then it must be decimal.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Nov 05, 2008 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-11-05T00:23:49+02:00</updated>

		<published>2008-11-05T00:23:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6588#p6588</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6588#p6588"/>
		<title type="html"><![CDATA[HIDdata commandline with error any OS?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6588#p6588"><![CDATA[
found in 20081022<br /><br />i have changed in Basis 16 then examle was ok.<p>Statistics: Posted by Guest — Wed Nov 05, 2008 12:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-11-05T00:18:19+02:00</updated>

		<published>2008-11-05T00:18:19+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6587#p6587</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6587#p6587"/>
		<title type="html"><![CDATA[HIDdata commandline with error any OS?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1861&amp;p=6587#p6587"><![CDATA[
I have testet and no luck with it, than i searched in the Code and than that!<br /><br /><div class="codebox"><p>Code: </p><pre><code>static int  hexread&#40;char *buffer, char *string, int buflen&#41;<br />&#123;<br />char    *s;<br />int     pos = 0;<br /><br />    while&#40;&#40;s = strtok&#40;string, &quot;, &quot;&#41;&#41; != NULL &amp;&amp; pos &lt; buflen&#41;&#123;<br />        string = NULL;<br />        buffer&#91;pos++&#93; = &#40;char&#41;strtol&#40;s, NULL, 0&#41;;<br />    &#125;<br />    return pos;<br />&#125;<br /></code></pre></div><br /><br />buffer[pos++] = (char)strtol(s, NULL, 0);<br />will it ever give 0 in the buffer?!<p>Statistics: Posted by Guest — Wed Nov 05, 2008 12:18 am</p><hr />
]]></content>
	</entry>
	</feed>
