Or use the versions of the functions I mentioned earlier which are thread safe and were basically added to the RTL for this purpose.
So to get past this look at using function EncodeDateTime(const AYear, AMonth, ADay, AHour, AMinute, ASecond, AMilliSecond: Word):TDateTime; this is found in DateUtils.
BTW, I didn't mean to send it directly to you. Your email appeared in the To field when I replied and didn't notice until after it was sent. _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
