Hi Ashley,

AT> on Windows2000/XP. I suppose on 95/98/ME I can check for the presence of
AT> "c:\Windows" and replace "c:\Documents and Settings\All 
AT> Users\Desktop\MyApp.lnk" with "c:\Windows\Desktop\MyApp.lnk". Anyone come 
AT> up with a better (more generic) approach to handle this?

If you have /Pro or the SDK, you can use the
SHGetSpecialFolderLocation or SHGetFolderPath APIs to get the location
of the desktop and other special folders.

-- Gregg                         

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to