|
karthikj (Mechanical)
10 Dec 04 4:24
Hi,
I am trying to get the login name of the user in C programming .After searching in web i found the Miscellaneous function getlogin() in unistd.h.I am using VC++ compiler . This header file is not available in VC++.Please guide me how to solve this issue or tell me how to get the login information of the user.
regards, KarthikJ
CajunCenturion (Computer)
10 Dec 04 9:11
Easiest way that I know of is to use the GetUserName API call. Good Luck -------------- As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
(Click:)
|