Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Open and Save dialog boxes assert or "Encountered an improper argument." #1

Open
azureskydiver opened this issue Feb 21, 2016 · 1 comment
Labels

Comments

@azureskydiver
Copy link
Owner

Repro steps:

  1. File.Open or File.Save

Results:
On debug builds:
Assert: "Debug Assertion Failed!"
Program: "D:\z\EasyBridge\Build\Bin\Debug\EasyBridge.exe"
File: f:\dd\vctools\vt7libs\ship\atlmfc\src\mft\winocc.cpp
Line: 241

On release builds:
Error box: "Encountered an improper argument."

Expected results:
No assert or error box.

@azureskydiver
Copy link
Owner Author

Root cause of this is that Vista style dialog boxes don't support customization by templates anymore. Need to switch over to using IFileDialogCustomization interface if we detect that we are on Vista or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant