Microsoft KB Archive/34343: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "&" to "&")
 
Line 36: Line 36:
=== E.10.2 Toolbox Library Statement Reference ===
=== E.10.2 Toolbox Library Statement Reference ===


<pre class="codesample">GetHandleSize h&amp;,size&amp;
<pre class="codesample">GetHandleSize h&,size&
                 </pre>
                 </pre>
This returns the size of a resource in bytes when given the resource's handle.
This returns the size of a resource in bytes when given the resource's handle.
Line 45: Line 45:
== MORE INFORMATION ==
== MORE INFORMATION ==


The following is an additional related note not found in the README file. For the GetHandleSize statement, the variable Size&amp; returns the number of bytes occupied by the actual data of the resource in memory. This does not include the size of additional information about the resource such as the name, attributes, and ID number. These are kept in the resource file.
The following is an additional related note not found in the README file. For the GetHandleSize statement, the variable Size& returns the number of bytes occupied by the actual data of the resource in memory. This does not include the size of additional information about the resource such as the name, attributes, and ID number. These are kept in the resource file.


</div>
</div>

Latest revision as of 14:14, 21 July 2020

Article ID: 34343

Article Last Modified on 11/21/2006

This article was previously published under Q34343

SUMMARY

The following statement needs to be added to Appendix E of the "Microsoft QuickBasic 1.00 Basic Language Reference." This information was taken from the README file from the release disk.

E.10.2 Toolbox Library Statement Reference

GetHandleSize h&,size&
                

This returns the size of a resource in bytes when given the resource's handle.

MORE INFORMATION

The following is an additional related note not found in the README file. For the GetHandleSize statement, the variable Size& returns the number of bytes occupied by the actual data of the resource in memory. This does not include the size of additional information about the resource such as the name, attributes, and ID number. These are kept in the resource file.


Additional query words: MQuickB readme docerr

Keywords: KB34343