<?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 Jul 2015 11:18:26 Z</lastBuildDate><pubDate>24 Jul 2015 11:06:54 Z</pubDate><description>I have defined several structures containig several fields. &#13;
I would like to get the size of each strucutre, but have not found the functions for this.&#13;
&#13;
Length (function) works only with buffers and strings.&#13;
&#13;
I know that the structures have fixed size (by definition) and that their size is known after they are defined.&#13;
I can sum the sizes of all fields, but to avoid a mistakes, I would expect the compiler to provide me with this information.&#13;
I need these sizes when creating the data which is sent using sockets.&#13;
&#13;
I am sure that this exists, but as a novice user of WinDev I have not found it (yet).</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53237-how-get-size-structurue/read.awp</link><title>how to get the size of the structurue</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>vvido</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53237-how-get-size-structurue-53238/read.awp</comments><pubDate>24 Jul 2015 11:18:26 Z</pubDate><description>Just a short additional info:&#13;
&#13;
I have defined a strucutre, which contains three fields, total length of 16 (for test purposes)…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53237-how-get-size-structurue-53238/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53237-how-get-size-structurue-53238/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53237-how-get-size-structurue/read.awp">how to get the size of the structurue</source><title>Re: how to get the size of the structurue</title></item></channel></rss>
