Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Beware: IOTAComponent.GetPropValue needs 4 bytes for an enum (https://www.delphipraxis.net/195032-beware-iotacomponent-getpropvalue-needs-4-bytes-enum.html)

DP News-Robot 27. Jan 2018 19:20

Beware: IOTAComponent.GetPropValue needs 4 bytes for an enum
 
The ToolsAPI interface IOTAComponent declares two methods for getting property values: The comment says “The untyped var must be large enough to hold the returned value.” which pretty much lets us guess, how large it must be for an enum (or even a Boolean). Let’s say, we want to read the Enabled property of a [...]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:49 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz