Windows Vista developers beware: Vista does not perform file virtualization on the creation of shell links. Consider the following code:
One might expect that the creation of the file
C:\Program Files\sol.lnk would be silently redirected by Vista using file virtualization and
CreateLink() would succeed, but it doesn’t — the call to
For more information about developing on Vista, see the document Windows Vista Application Development Requirements for User Account Control Compatibility.