Skip to content

Problem with long paths > 256 characters #29

@luebbe

Description

@luebbe

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions