teventobject.create does not raise exception if function intBasicEventCreate fails in RTL (systhrd.inc)
Original Reporter info from Mantis: snorkel
-
Reporter name:
Original Reporter info from Mantis: snorkel
- Reporter name:
Description:
teventobject.create does not raise exception if function intBasicEventCreate in RTL fails.
Also if it fails the handle should be set to nil. When I was having issues with the createevent name param issue getlasterror would report it failed but the createventobject handle parm would always have a value, it would never be nil.
Delphi also had similar issues with tevent.create:
http://qc.embarcadero.com/wc/qcmain.aspx?d=100175
NOTE, the name param not being nil has been fixed is FPC recently but the link also mentions delphi also raised no exception in tevent.create.
Mantis conversion info:
- Mantis ID: 30769
- OS: 7+
- Platform: windows
- Version: 3.0.0
- Fixed in version: 3.1.1
- Fixed in revision: 34988 (#76f7f81c)
- Target version: 3.2.0