-
Notifications
You must be signed in to change notification settings - Fork 24
Description
There seems to be a problem when paths longer than 256 characters are involved.
I have the classical combination of TVirtualExplorerComboBox and TVirtualExplorerTreeView to create a custom "File Open" Dialog. I can navigate to any directory in the long path fine using the explorer tree. TVirtualExplorerComboBox.Path returns the desired path and I can work with it (MyPath := TVirtualExplorerComboBox.Path) and store it away.
When I try to open this dialog in the same location by setting (TVirtualExplorerComboBox.Path := MyPath), this fails when MyPath has more than 256 characters.
In TCustomVirtualExplorerCombobox.SetPath(const Value: string);, the call to PIDL := PathToPIDL(Value); returns nil when a very long path is involved. This results in not being able to set the path.
Assigning to TVirtualExplorerComboBox.Path, it doesn't make a difference whether the value is UNC/non UNC or whether it uses the extended prefix \\? or not.
Is there a way to initialize TVirtualExplorerComboBox in a path with more than 256 characters?