Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SystemParametersInfo Pin
Michael Dunn28-Dec-02 12:04
sitebuilderMichael Dunn28-Dec-02 12:04 
GeneralList control Pin
Anonymous27-Dec-02 23:34
Anonymous27-Dec-02 23:34 
GeneralRe: List control Pin
alex.barylski28-Dec-02 0:11
alex.barylski28-Dec-02 0:11 
GeneralRe: List control Pin
Michael P Butler28-Dec-02 0:54
Michael P Butler28-Dec-02 0:54 
GeneralBind controls to database Pin
alex.barylski27-Dec-02 22:15
alex.barylski27-Dec-02 22:15 
GeneralOnInitDialog() direct call Pin
Hockey27-Dec-02 21:59
Hockey27-Dec-02 21:59 
GeneralRe: OnInitDialog() direct call Pin
Michael P Butler27-Dec-02 22:25
Michael P Butler27-Dec-02 22:25 
GeneralRe: OnInitDialog() direct call Pin
alex.barylski28-Dec-02 0:07
alex.barylski28-Dec-02 0:07 
GeneralRe: OnInitDialog() direct call Pin
Michael P Butler28-Dec-02 1:02
Michael P Butler28-Dec-02 1:02 
GeneralRe: OnInitDialog() direct call Pin
Brian Delahunty28-Dec-02 1:19
Brian Delahunty28-Dec-02 1:19 
GeneralRe: OnInitDialog() direct call Pin
alex.barylski28-Dec-02 15:19
alex.barylski28-Dec-02 15:19 
GeneralResizing of CFormView based window Pin
M.Shoaib Khan27-Dec-02 21:03
sussM.Shoaib Khan27-Dec-02 21:03 
GeneralRe: Resizing of CFormView based window Pin
alex.barylski27-Dec-02 22:01
alex.barylski27-Dec-02 22:01 
GeneralFTP question Pin
focusphs27-Dec-02 19:09
focusphs27-Dec-02 19:09 
GeneralRe: FTP question Pin
User 665828-Dec-02 1:55
User 665828-Dec-02 1:55 
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 

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.