hi,
i'd like to change default folder when i click the file dialog.
so, i found OnFileDialog on CefDialogHandler, and change the function like below.
but when i debugged the code, there's no error in 'callback->Continue(default)'. and when the function is returned, the error occur. the errror message is "Project has triggered a breakpoint" like that.
i'd like to know what's the problem. thank you!
bool ClientHandler::OnFileDialog(CefRefPtr<CefBrowser> browser, FileDialogMode mode, const CefString& title, const CefString& default_file_name, const std::vector<CefString>& accept_types, CefRefPtr<CefFileDialogCallback> callback)
{
std::vector <CefString>default(1);
default[0] = "c:\\";
callback->Continue(default);
return 0;
}