Skip to content

[C++][Arrow Flight SQL ODBC] Fix value for lpstrFilter #47851

@alinaliBQ

Description

@alinaliBQ

Describe the enhancement requested

From https://learn.microsoft.com/en-us/windows/win32/api/commdlg/ns-commdlg-openfilenamea:

To retrieve a shortcut's target without filtering, use the string "All Files\0*.*\0\0".

AC:

// TODO: What type should this be?
open_file_name.lpstrFilter = L"All\0*.*";

In above code, replace All\0*.* with "All Files\0*.*\0\0". Since ODBC is using unicode, using the wide character string is the correct choice here. \

Parent issue: #30622

Component(s)

C++, FlightRPC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions