<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Jun 2015 15:18:00 Z</lastBuildDate><pubDate>23 Jun 2015 12:45:00 Z</pubDate><description>Hi,&#13;
&#13;
My requirement is to convert below C code into WinDev&#13;
&#13;
unsigned char ch = 0xFF&#13;
&#13;
In WinDev I tried "ch is character = 0xFF" which stores 2 in ch instead of 0xFF.&#13;
&#13;
I also used byte in WinDev but internally it is getting converted to 4 byte instead of 1 byte.&#13;
&#13;
Any help how to solve this?&#13;
&#13;
Thanks and Regards,&#13;
Naveen Rathan</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp</link><title>How to define &amp;quot;unsigned 8 bit int&amp;quot;</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-solved-how-define-quotunsigned-8-bit-intquot-52884/read.awp</comments><pubDate>24 Jun 2015 15:18:00 Z</pubDate><description>Hi King,&#13;
&#13;
Using buffer solves the problem.&#13;
&#13;
Thanks and Regards,&#13;
Naveen Rathan</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-solved-how-define-quotunsigned-8-bit-intquot-52884/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-solved-how-define-quotunsigned-8-bit-intquot-52884/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: [SOLVED]Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52872/read.awp</comments><pubDate>24 Jun 2015 09:30:00 Z</pubDate><description>Hi Naveen,&#13;
&#13;
If your API is expecting a structure then you need to... declare a structure...&#13;
When you need strings, for API ca…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52872/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52872/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52871/read.awp</comments><pubDate>24 Jun 2015 07:45:00 Z</pubDate><description>Hi&#13;
&#13;
How about this:&#13;
&#13;
MyBuffer is Buffer on 1&#13;
MyBuffer = 0xFF&#13;
info(MyBuffer) // length is 1&#13;
&#13;
HTH&#13;
&#13;
King</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52871/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52871/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52870/read.awp</comments><pubDate>24 Jun 2015 07:31:00 Z</pubDate><description>Hi Alexandre,&#13;
&#13;
I have tried that option but no result. It sends some other character which is not equal to 0xFF.&#13;
&#13;
Thanks and…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52870/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52870/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52861/read.awp</comments><pubDate>23 Jun 2015 16:37:00 Z</pubDate><description>Hi Naveen,&#13;
&#13;
Have you tried to do as Peter suggested?&#13;
c is character = Charact(0xFF)&#13;
&#13;
Because the character is really what y…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52861/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52861/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52858/read.awp</comments><pubDate>23 Jun 2015 16:19:00 Z</pubDate><description>Hi Tor-Bjarne,&#13;
&#13;
I have to pass my structure to an external library like below:&#13;
&#13;
status = API("LIB_NAME", "API_NAME", &amp;mystru…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52858/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52858/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52857/read.awp</comments><pubDate>23 Jun 2015 16:07:00 Z</pubDate><description>Quote&#13;
Naveen&#13;
&#13;
I tried that too. WinDev converts it to 4 byte integer which I don't want.&#13;
&#13;
Well it does not happen here, I u…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52857/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52857/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52853/read.awp</comments><pubDate>23 Jun 2015 15:57:00 Z</pubDate><description>Hi Tor-Bjarne,&#13;
&#13;
I tried that too. WinDev converts it to 4 byte integer which I don't want.&#13;
&#13;
Any help how to make it stick to…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52853/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52853/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52851/read.awp</comments><pubDate>23 Jun 2015 15:00:00 Z</pubDate><description>Hi,&#13;
&#13;
IT`s ibyte is 1-byte unsigned int if I recall right.&#13;
&#13;
ibyte is 1-byte unsigned int = 0xFF&#13;
&#13;
Cheers&#13;
Tor-Bjarne</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52851/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52851/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52850/read.awp</comments><pubDate>23 Jun 2015 14:44:00 Z</pubDate><description>Hi Naveen,&#13;
&#13;
Try the following: c is character = 0xff&#13;
&#13;
Best regards,&#13;
Alexandre Leclerc&#13;
&#13;
Edit 1: Sorry, I saw that you alre…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52850/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52850/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52848/read.awp</comments><pubDate>23 Jun 2015 14:24:00 Z</pubDate><description>Hi Peter,&#13;
&#13;
Thanks for the reply. Actually my 'ch' is a structure variable. I have to fill 1 byte 'ch' with 0xFF and make a API…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52848/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52848/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52847/read.awp</comments><pubDate>23 Jun 2015 14:04:00 Z</pubDate><description>Hi Naveen,&#13;
&#13;
0xFF is a hex representation often used in C-programming.&#13;
&#13;
Converted to an integer that would be the number 255.…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52847/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot-52847/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52846-how-define-quotunsigned-8-bit-intquot/read.awp">How to define &amp;quot;unsigned 8 bit int&amp;quot;</source><title>Re: How to define &amp;quot;unsigned 8 bit int&amp;quot;</title></item></channel></rss>
