Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/02/2005 at 06:50, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.027 Platform: Windows ; Language(s) : C++ ;
--------- hi i have a problem on some machines to detect if harddiskdrive (on some machines d:) exist. this directories were selected with a fileselector dialog using
Filename fnDir; if (fnDir.FileSelect(FSTYPE_ANYTHING, GE_DIRECTORY)) { ... }
TRUE was returned and fnDir contents 'c:'
i tried the following but nothing worked safe:
1. Tried
BrowseFiles *bf = BrowseFiles::Alloc(); bf->Init(fnDir, FALSE); bf->IsDir();
usually it returns TRUE for but on some machines (windows xp, same C4D version, same configuration of preferences, ...) it returns FALSE
so i tried 2. using
GeFExist(fnDir,TRUE)
and i saw the same.
does anybody know what could be the reason for that behaviour?
On 28/02/2005 at 12:59, xxxxxxxx wrote:
I don't know what could cause this. However, a foolproof way to detect whether a directory exists and is writable would be to create a small dummy file and then delete it immediately.