TDirectory... not much more to say...
TDirectory... not much more to say...
Why did they even bother writing such a half-baked wrapper? Half the time I find myself having to resort to using FindFirstFile/FindNextFile etc.
Why did they even bother writing such a half-baked wrapper? Half the time I find myself having to resort to using FindFirstFile/FindNextFile etc.
A lot of the newer RTL code leaves much to be desired. If you can describe the half-bakedness in QualityCentral, it will not be forgotten.
ReplyDeleteI'll get to it right after I'm done writing a proper wrapper...
ReplyDeleteIOUtils.pas is (as many others) a brainless copy paste job from .Net (http://msdn.microsoft.com/en-us/library/system.io.directory.aspx)
ReplyDeleteSad stuff :(
ReplyDeleteVery sad. :/
ReplyDeleteIOUtils does have the occasional diamond in the rough. I do use it every now and then, mostly TPath I think it is.
ReplyDeleteI guess the main problem I have with it is just that it could easily have been so much better with just a wee bit extra effort.
ReplyDeleteWrap it, extend it, publish it ;)
ReplyDeleteYeah will do
ReplyDelete