I don't know if this is possible, but it would greatly speed my application if I could access the user's profile's password in an exe.
I get their username with the following:
char buffer[255];
strcpy(buffer,getenv("Username");
This works okay, but when I pass "Password" as the parameter for getenv, it all goes horribly wrong.
This quite possibly is because you aren't ALLOWED to access the password (which I guess is reasonable), but does anyone know for sure? And (if it exists) a way around it?
Cheers,
Douglas JL
If it don't make you laugh, it ain't true.
I get their username with the following:
char buffer[255];
strcpy(buffer,getenv("Username");
This works okay, but when I pass "Password" as the parameter for getenv, it all goes horribly wrong.
This quite possibly is because you aren't ALLOWED to access the password (which I guess is reasonable), but does anyone know for sure? And (if it exists) a way around it?
Cheers,
Douglas JL
If it don't make you laugh, it ain't true.