Create openeventlog.c