Asked By The PocketTV Team
21-Apr-08 11:29 PM

what do you mean, Peter?
on Pocket PC/Professional edition, GetOpenFileName will take the initial
directory into account.
but does it take it into account? because with GetOpenFileName, we can also
specify an initial directory, and we do that, but it ignores it!
i didn't know that GetOpenFileNameEx had a different behavior, we'll look
into it. but since lpstrInitialDir can be passed to GetOpenFileName, it
would seem logical that it takes it into account, just like it does on
Pocket PC/Professional edition. ideally, also, the file name specified
should be selected if it exists in the folder specified, must that's
probably asking for too much :)
backwards compatibility of GetOpenFileName on Smartphone makes little sense,
since GetOpenFileName was seriously broken (causing application to freeze or
crash) on Smartphones prior to Windows Mobile 6.1. we tried to use it on WM5
and WM6 Smartphones, since we need it, but it was not working, so we had to
use the tGetFile replacement dll instead.
--