UNC paths and CStdioFile
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, My program uses 'GetspecialfolderPath(CSIDL_PERSONAL)' to retreive the my documents folder, and saves a file in the folder using CStdioFile. On Win2000 this my-docs folder path is returned as an UNC path like '\\server\\..$\my documents\...' Here, CStdioFile fails to create the file. I guess it is due to UNC name. How can I convert this to the mapped drive ? or is there any workaround ? Please help, thanks in advance to all. regards hari Hari Krishnan