Mention that instances of THandleObject should not be created
Original Reporter info from Mantis: Bi0T1N @Bi0T1N
-
Reporter name: Bi0T1N
Original Reporter info from Mantis: Bi0T1N @Bi0T1N
- Reporter name: Bi0T1N
Description:
From Delphi documentation:
'Do not create instances of THandleObject. THandleObject is a base class that introduces properties for managing the handle of a synchronization object but does not provide a mechanism for acquiring that handle. Descendants of THandleObject must acquire the appropriate type of handle.'
Something similar to this should also be added to FPC documentation.
Additional information:
http://docwiki.embarcadero.com/Libraries/Rio/en/System.SyncObjs.THandleObject
https://www.freepascal.org/docs-html/current/fcl/syncobjs/thandleobject.html
Mantis conversion info:
- Mantis ID: 37436
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 45875