How to create a new folder with a unique name

Just starting out? Need help? Post your questions and find answers here.
User avatar
ultralazor
Enthusiast
Enthusiast
Posts: 186
Joined: Sun Jun 27, 2010 9:00 am

Re: How to create a new folder with a unique name

Post 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..
so many ideas so little time..
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: How to create a new folder with a unique name

Post 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.
Post Reply