UPDATE. Running VFP as Admin did help - the file was created OK. I guess we're also running our applications as Admin as the files are being created when running dll.
Hi everybody,
I'm trying to test a program in Windows 10 in VFP. We have write_log method that uses strtofile. I can see that it returns 135 bytes and uses the following command
strtofile(m.tcMessage + lcCR, .cProgramDataPath + .cLogFile, .t.)
where cProgramDataPath points to c:\ProgramData\CompanyName\Pool\AppName.
That folder appears to be Read-only in Windows 10. Despite the fact that strtofile returns 135 bytes I see no file created in that folder.
I am also unable to change attributes of the directory when I try to do so using Properties of the folder.
What should I do?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog