Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralURG:: CloseSocket() error with Multithreading. Pin
ydasari27-Dec-02 15:24
ydasari27-Dec-02 15:24 
GeneralRe: URG:: CloseSocket() error with Multithreading. Pin
valikac27-Dec-02 16:07
valikac27-Dec-02 16:07 
GeneralRe: URG:: CloseSocket() error with Multithreading. Pin
Anonymous28-Dec-02 4:56
Anonymous28-Dec-02 4:56 
GeneralCreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 14:35
valikac27-Dec-02 14:35 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
Todd Smith27-Dec-02 14:50
Todd Smith27-Dec-02 14:50 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
Michael Dunn27-Dec-02 14:50
sitebuilderMichael Dunn27-Dec-02 14:50 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 14:58
valikac27-Dec-02 14:58 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
carpediem27-Dec-02 16:56
carpediem27-Dec-02 16:56 
kuphryn wrote:
Is there a Win32 API for checking the existence of a directory? Otherwise, recursive creation will do.

Technically, no. At least I haven't seen one. In an instance that I had, I had to create a file, several dirs deep. So I had to do a _access(filename, 00) to see if the dir existed. If not, I would create it. That might be how you will have to do it.

kuphryn wrote:
I have seen in the past members mentioning directories with two backslashes. Is there something special about creating directories with two backslashes instead of one?

I am not sure about this. In some cases, if you are required to use \\ in order to have just one \. In other cases, it doesn't matter. For instance in your case, I think it will work to have just one c:\ instead of c:\. I know in other cases, for instance, in a wsprintf, strcpy, you have to have \\.
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 17:27
valikac27-Dec-02 17:27 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
Michael Dunn27-Dec-02 19:26
sitebuilderMichael Dunn27-Dec-02 19:26 
GeneralRe: CreateFile and Long Path/Files :: Win32 Pin
valikac27-Dec-02 20:47
valikac27-Dec-02 20:47 
GeneralSDI Window in a MFC DLL Pin
Datalord3227-Dec-02 10:35
sussDatalord3227-Dec-02 10:35 
GeneralAdding formatted line of text to CRichEditCtrl Pin
IGx8927-Dec-02 10:21
IGx8927-Dec-02 10:21 
GeneralRe: Adding formatted line of text to CRichEditCtrl Pin
IGx8927-Dec-02 16:05
IGx8927-Dec-02 16:05 
Generali love this site ! Pin
HellShrimp4free27-Dec-02 10:17
HellShrimp4free27-Dec-02 10:17 
GeneralRe: i love this site ! Pin
Hockey27-Dec-02 11:40
Hockey27-Dec-02 11:40 
GeneralRe: i love this site ! Pin
Nitron28-Dec-02 5:06
Nitron28-Dec-02 5:06 
Generalstrtok - reconstruct string after it finds a token Pin
jimNLX27-Dec-02 10:15
jimNLX27-Dec-02 10:15 
GeneralRe: strtok - reconstruct string after it finds a token Pin
Chris Losinger27-Dec-02 10:22
professionalChris Losinger27-Dec-02 10:22 
GeneralRe: strtok - reconstruct string after it finds a token Pin
jimNLX27-Dec-02 10:42
jimNLX27-Dec-02 10:42 
GeneralRe: strtok - reconstruct string after it finds a token Pin
Renjith Ramachandran27-Dec-02 13:27
Renjith Ramachandran27-Dec-02 13:27 
QuestionWhere is random() in Visual C++.net ? Pin
HellShrimp4free27-Dec-02 9:52
HellShrimp4free27-Dec-02 9:52 
AnswerRe: Where is random() in Visual C++.net ? Pin
Nish Nishant27-Dec-02 10:00
sitebuilderNish Nishant27-Dec-02 10:00 
GeneralRe: Where is random() in Visual C++.net ? Pin
HellShrimp4free27-Dec-02 10:11
HellShrimp4free27-Dec-02 10:11 
GeneralRe: Where is random() in Visual C++.net ? Pin
S O S27-Dec-02 10:28
S O S27-Dec-02 10:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.