Any workaround?
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
CGETFILE( "All files (*.*)|*.*", "Select a file", , CURDRIVE() + ":\" + CURDIR() )
RETURN NIL
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
CGETFILE( "All files (*.*)|*.*", "Select a file", , CURDRIVE() + ":\" + CURDIR() )
RETURN NIL
so it seems as it is a GetOpenFileName() bugRestores the current directory to its original value if the user changed the directory while searching for files.
This flag is ineffective for GetOpenFileName
Restores the current directory to its original value if the user changed the directory while searching for files.
This flag is ineffective for GetOpenFileName.