wince: calendar API crash fixed