header file for "GetProfilesDirectory" function?

URGENT
I need to know the location of the profiles directory in my program. The MSDN documentation says I have to use the function "GetProfilesDirectory" to achieve this. It also says that the header file and the import library for this function are "userenv.h" and "userenv.lib".

The problem is that I do not have these files on my hard disk nor on the Visual Studio CDs. Where can I find them?

I'm using NT4 SP5 and VC6 Enterprise Ed. SP3. I do have "userenv.dll" on my hard disk but prefer not to use "LoadLibrary".
searchingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NickRepinCommented:
You have to download Platform SDK.
Look for it on MS site.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NickRepinCommented:
Latest SDK is for Win2000 RC2, if I'm not wrong.
0
NickRepinCommented:
There are userenv.h and userenv.lib files.

http://msdn.microsoft.com/downloads/sdks/platform/platform.asp
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

searchingAuthor Commented:
Is there another way to obtain these two files and not the whole Platform SDK? (Just because I have a quite slow connection here)
0
searchingAuthor Commented:
Is there another way to obtain these two files and not the whole Platform SDK? (Just because I have a quite slow connection here)
0
NickRepinCommented:
a)You can buy CD from Microsoft.
b)You can download only headers and library files
c)I can send you them by email, but it's better to get original ones.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.