> CFileDialog requires a path to open a file.
>
> You already have the path.
He's not talking about the path that CFileDialog starts in, he's talking
about the path that the USER chooses from that CFileDialog, which he tries
to retrieve using GetPathname() afterwards.
If they choose a .LNK file, CFileDialog will not return the name and path of
the .LNK file - instead it will return the name and path of the file that
the .LNK file was a shortcut to - this is what he said in the first place.
I believe he is hoping to get information on the .LNK file the user actually
chose, which is transparent as far as CFileDialog is concerned.
--
Jason Teagle
[EMAIL PROTECTED]
