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".