Currently, when the data directory is invalid, the user is prompted to insert the Trespasser CD.
This behavior is changed to give the user the option to select the data directory in a directory chooser dialog.
This implementation uses COM-based controls for the directory chooser. There is an alternative via SHBrowseForFolder, which would require less code and no COM, but it produces a different directory chooser that is much more cumbersome for the user.
Currently, when the data directory is invalid, the user is prompted to insert the Trespasser CD. This behavior is changed to give the user the option to select the data directory in a directory chooser dialog. This implementation uses COM-based controls for the directory chooser. There is an alternative via
SHBrowseForFolder
, which would require less code and no COM, but it produces a different directory chooser that is much more cumbersome for the user.