to add functions into startiodlg.h