Hi everyone,
I have traced the problem to one possibility: the eventExpDate is blank in the argument of:
event := NSApp.nextEventMatchingMask_untilDate_inMode_dequeue(NSAnyEventMask, eventExpDate, NSDefaultRunLoopMode, true);
which lives in application.inc. See attached screen capture. Is this variable supposed to be blank?
The previous call to TCocaWidgetSet.AppRunMessages() is in applications.inc:
WidgetSet.AppProcessMessages; // process all events
and doesn't have any arguments.
The next call is in cocoaint.pas:
Result:=inherited nextEventMatchingMask_untilDate_inMode_dequeue(mask,
expiration, mode, deqFlag);
"expiration" is also blank because it came from "eventExpDate".
Once I step into the above, I immediately get the popup error I posted earlier.
So, if this is the problem, how do I fix it?
cytan