MAC QB 1.00 README: GetHandleSize Gives Size of a Resource (34343)






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.

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB34343