Article # 697, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
How to use FileParseStandardPath()
Q. When I call FileParseStandardPath(), it doesn't change the pointer to the path string and it returns SP_TOP. What am I doing wrong? TCHAR path[100] = "Document\\Own texts\\Calendar memos"; TCHAR *pathPtr = &path; StandardPath sp = FileParseStandardPath( SP_TOP, &pathPtr ); A. Because GEOS runs on top of DOS, and DOS is case-insensitive, the path needs to be in all-caps in order for FileParseStandardPath() to work properly. Call LocalUpcaseString() on the path you have above and then call FileParseStandardPath().