Creating directory..
-
I am trying to Create a Directory with Path length > 260 Characters.. Windows is not allowing me to create when length exceds 260 characters..The function i used is CreateDirectory().. When I saw the SDK Documentation it said I need to Use Unicode Version of this function for a maximum path length of 32767. I want to know wht is this Unicode version function is?? Also do i need to change any settings in Visual Studio if i want to use Unicode Functions.. If possible can any one explain me the above with an example.. Thanks Sudhakar
-
I am trying to Create a Directory with Path length > 260 Characters.. Windows is not allowing me to create when length exceds 260 characters..The function i used is CreateDirectory().. When I saw the SDK Documentation it said I need to Use Unicode Version of this function for a maximum path length of 32767. I want to know wht is this Unicode version function is?? Also do i need to change any settings in Visual Studio if i want to use Unicode Functions.. If possible can any one explain me the above with an example.. Thanks Sudhakar
Sudhakar Pasupunuri wrote: Also do i need to change any settings in Visual Studio if i want to use Unicode Functions.. Yes, you will need to ensure that both
UNICODE
and_UNICODE
are defined. I would do this at the top ofstdafx.h
before any files are included.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
I am trying to Create a Directory with Path length > 260 Characters.. Windows is not allowing me to create when length exceds 260 characters..The function i used is CreateDirectory().. When I saw the SDK Documentation it said I need to Use Unicode Version of this function for a maximum path length of 32767. I want to know wht is this Unicode version function is?? Also do i need to change any settings in Visual Studio if i want to use Unicode Functions.. If possible can any one explain me the above with an example.. Thanks Sudhakar
If you don't want to change your whole app to be Unicode, you can call
CreateDirectoryW()
directly. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- There is a saying in statistics that a million monkeys pounding on typewriters would eventually create a work of Shakespeare. Thanks to the Internet, we now know that this is not true.