Why do you need WIndows API to get a directory? You can use
IF FILEDIALOG('Choose a Directory', SELirName, , FILE:LongName+FILE:KeepDir+FILEirectory)
...
END
This will provide a dialog to choose a directory and store the selected directory i.e. full path in the SELirName variable which should have be defined earlier in Local Data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.