Problem in getting the path of a shortcut file!!
Posted
by kiddo
on Stack Overflow
See other posts from Stack Overflow
or by kiddo
Published on 2010-05-17T08:28:07Z
Indexed on
2010/05/17
8:30 UTC
Read the original article
Hit count: 151
In my application,I have an option of adding files to a list..were it will let the user to select multiple files at the same..am using CFileDialog to do tis and I enabled OFN_MULTISELECT (for multiselect)...The problem am facing is,When I try to add a shortcut file..its not taking the actual shortcut path,its reffering to the actual path.Actually I wanted to avoid shortcut file being added to my list,but every shortcut file that is being added does not have the extension ".lnk"(i dont know the reason). So,is there any way that we can neglect the shortcut file being added.
© Stack Overflow or respective owner