I prefer not to re-invent the "code" wheel. And save some time.

I have a network environment with user profiles. Needed the code for a loader/updating program to drop shortcuts onto a desktop.

If not, I will grind one out and post it here.

Enjoy your work, P1
Posted on 2002-10-25 13:11:48 by Pone
After experimenting with different API's settled on this one.

Invoke SHGetSpecialFolderPath,0,ADDR szDPFname,CSIDL_DESKTOPDIRECTORY,0

But it does not work with older W95's. I'm working out a kludge for this.

Even M$ is recommending a different API again.

I would recommend to anyone posting, that even if they don't a answer from here, post the answer here. It helps to grow the knowledge base on this board.

Regards, P1
Posted on 2002-11-08 12:24:25 by Pone
Note: Will not work on W95 without IE5 or better installed.

Thanks to natas & Eviloid for their help.

Regards, P1
Posted on 2002-11-13 12:44:05 by Pone