Create Directory
-
is there a way to create a directory like this "C:\somedir\subdir1\subdir2\subdir3" when the directory "C:\somedir" does not already exist? i have tried using CreateDirectory() but it seems to be only able to handle one directory at a time,
:suss: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
Painted on the side of a dog trainer's van: SIT HAPPENS -
:suss: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
Painted on the side of a dog trainer's van: SIT HAPPENS -
hmm, none of the headers i have for Visual C++ seem to have this function, nor do any of the headers for Dev-C++ (MinGW),
Minimum operating systems Windows 2000 You'd have to change your _WIN32_WINNT define in stdafx.h to 0x0500. I don't think there is another way of doing it unless you write your own routine using splitpath or the like.
Painted on the side of a dog trainer's van: SIT HAPPENS
-
Minimum operating systems Windows 2000 You'd have to change your _WIN32_WINNT define in stdafx.h to 0x0500. I don't think there is another way of doing it unless you write your own routine using splitpath or the like.
Painted on the side of a dog trainer's van: SIT HAPPENS
-
hmm, none of the headers i have for Visual C++ seem to have this function, nor do any of the headers for Dev-C++ (MinGW),
You'll need the Platform SDK. Look in
Shlobj.h
.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
-
You'll need the Platform SDK. Look in
Shlobj.h
.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
-
I really hate to be mean, but perhaps you should read more carefully "none of the headers i have for Visual C++" that would include "shlobj.h"
Most folks that pose such a question about missing functions are ignorant to the fact that a Platform SDK even exists, or that perhaps it contains newer prototypes. I was just making sure you had not overlooked that. Glad you're ok!
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown