- Larry Peters
- PowerBuilder
- Friday, 6 April 2018 03:43 AM UTC
My PowerBuilder app is using Appeon 2017 R2 Build 1756 with PFC.
The pfc_n_cst_filesrvwin32 object has a function of_dirlist() which lists all the files in a directory. It uses the Win API calls FindFirstFileA() and FindNextFileA().
The first argument to FindFirstFileA is a directory or path and a filename eg "O:\TestPath\*.FXC". This works fine EXCEPT when the "O:" drive is a mapped drive on a PC running a 64bit operating system like Win Server 2012.
I have googled this and I've been directed to using the Wow64RevertWow64FsRedirection function to get around this. I haven't had much luck. Has anybody hit this problem?
TIA
Larry Peters
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.