View Issue Details

IDProjectCategoryView StatusLast Update
0030769FPCRTLpublic2016-11-27 17:09
ReportersnorkelAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformwindowsOS7+OS Version
Product Version3.0.0Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0030769: teventobject.create does not raise exception if function intBasicEventCreate fails in RTL (systhrd.inc)
Descriptionteventobject.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.





TagsNo tags attached.
Fixed in Revision34988
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2016-11-27 17:09

administrator   ~0096305

It now raises an exception.
I added Delphi-Compatible exception classes to the unit as well.

Issue History

Date Modified Username Field Change
2016-10-21 07:36 snorkel New Issue
2016-11-27 13:28 Michael Van Canneyt Assigned To => Michael Van Canneyt
2016-11-27 13:28 Michael Van Canneyt Status new => assigned
2016-11-27 17:09 Michael Van Canneyt Fixed in Revision => 34988
2016-11-27 17:09 Michael Van Canneyt Note Added: 0096305
2016-11-27 17:09 Michael Van Canneyt Status assigned => resolved
2016-11-27 17:09 Michael Van Canneyt Fixed in Version => 3.1.1
2016-11-27 17:09 Michael Van Canneyt Resolution open => fixed
2016-11-27 17:09 Michael Van Canneyt Target Version => 3.2.0