확장자 제거 char tmp_str[MAX_PATH]; strcpy(tmp_str, szFontName); // 확장자 제거 char* pExt = strrchr(tmp_str, '.'); if (pExt) *pExt = '\0'; study/c,c++,c# 2010.06.25