Report message to a moderator
Directoryexists does not recognise directory if path contains a separator at the end on Windows.
That is why I need to that.
String dir = GetFileDirectory ( filename );
if ( dir.EndsWith ( DIR_SEPS ) )
dir = dir.Left ( dir.GetCount() - 1 );
if ( DirectoryExists ( dir ) )
Does your library agree with itself?
One function returns a "directory" which is not a directory according to another function in your library.
Powered by: FUDforum 3.0.5.Copyright ©2001-2013 FUDforum Bulletin Board Software