<div dir="ltr"><div>So, it's 32bit integer. Most likely the library reads only 32 bit from the memory, and thus "long" wont help you.<br></div><div><br></div><div> Gambas integer reserves one bit for sign and thus returned values are not correctly displayed in Gambas side.</div><div>However you can display them correctly by using binary representation.</div><div><br></div><div></div><div><br></div><div>Jussi<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 10, 2018 at 6:38 PM, Demosthenes Koptsis <span dir="ltr"><<a href="mailto:demosthenesk@gmail.com" target="_blank">demosthenesk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello,<br>
<br>
i want to use an unsigned int in external function, which gambas datatype should i use?<br>
<br>
Integer or Long?<br>
<br>
The range of values is 0 to 4,294,967,295<br>
<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div><br></div>