Page 2 of 2
Re: How to create a new folder with a unique name
Posted: Sun Aug 12, 2012 8:12 am
by ultralazor
you could make my code use increment wrapped in enclosures and get the same result. Why use non-scalable native API?
This is like making a mountain out of a mole hill..
Re: How to create a new folder with a unique name
Posted: Sun Aug 12, 2012 8:35 am
by Danilo
ultralazor wrote:Why use non-scalable native API?
WinAPI LoadString_() in my examples was used to get the name of "New Folder" in the installed language.
For users with german language Windows OS it returns "Neuer Ordner", for french people the french string.
If you want englisch only, you don't need the API stuff and just hard-code it.