SaveToFile() seems to have a bug.
If the argument only contains one backslash, it verifies OK.
However, just adding another backslash to the path results in "Error 2 malformed string".
- SaveToFile("C:\filename.txt") validates OK
- SaveToFile("C:\file\name.txt") gives the error
I did not imagine that path strings should also conform to the scape character convention.
Changed each "\" to "\\" and the erratic behavior ceased to occur.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.