TCHAR path_buffer[_MAX_PATH] = {0},drive[_MAX_DRIVE]={0},dir[_MAX_DIR]={0},fname[_MAX_FNAME]={0},ext[_MAX_EXT];
_tcscpy_s(path_buffer,strFilePath);_tsplitpath_s( path_buffer, drive, dir, fname, ext );
TCHAR path_buffer[_MAX_PATH] = {0},drive[_MAX_DRIVE]={0},dir[_MAX_DIR]={0},fname[_MAX_FNAME]={0},ext[_MAX_EXT];
_tcscpy_s(path_buffer,strFilePath);_tsplitpath_s( path_buffer, drive, dir, fname, ext );