怎么取得当前使用的计算机的用户名呢
-
大家 取得取得!!!
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]
-
dick head, we speak english here (if you hadn't notice yet)... BTW, have you seen this[^] ??
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
dick head, we speak english here (if you hadn't notice yet)... BTW, have you seen this[^] ??
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
sorry ,I forgot i want to know how can i get current user who is using the computyer 's name by API
a beginner
-
can that be in english?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
-
sorry ,I forgot i want to know how can i get current user who is using the computyer 's name by API
a beginner
GetComputerName()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
-
can that be in english?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
ThatsAlok wrote:
can that be in english?
No, it will not be. MVPs should get directly in the person's soul and retrieve the question.[^] ;P See archivist.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]
-
sorry ,I forgot i want to know how can i get current user who is using the computyer 's name by API
a beginner
and i already replied to you with this link[^] :suss:
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
ThatsAlok wrote:
can that be in english?
No, it will not be. MVPs should get directly in the person's soul and retrieve the question.[^] ;P See archivist.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]
Rajesh R Subramanian wrote:
No, it will not be. MVPs should get directly in the person's soul and retrieve the question.[^]
actaully i given that power to you for sometime.. that's why you are so active ;P
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
-
alphaxz wrote:
大家好! 怎么取得当前使用的计算机的用户名呢?
Google translation says -
Good!
How to use the current computer user name?You could use the function -
NetWkstaUserGetInfo()
. For code snippet - check here[^]. Translation 您可以使用的功能- Netwkstausergetinfo( ) 。为程式码片段-检查在这里。 Well, please do not post questions in native language. Because those who can read it may not be able to answer it and those who can answer it may not be able to read it. ;) Regards, Jijo._____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
-
alphaxz wrote:
大家好! 怎么取得当前使用的计算机的用户名呢?
Google translation says -
Good!
How to use the current computer user name?You could use the function -
NetWkstaUserGetInfo()
. For code snippet - check here[^]. Translation 您可以使用的功能- Netwkstausergetinfo( ) 。为程式码片段-检查在这里。 Well, please do not post questions in native language. Because those who can read it may not be able to answer it and those who can answer it may not be able to read it. ;) Regards, Jijo._____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
Jijo raj wrote:
Well, please do not
Please do read other answers before posting too ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
GetComputerName()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
Which is completely different than
GetUserName()
."Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
dick head, we speak english here (if you hadn't notice yet)... BTW, have you seen this[^] ??
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
When calling someone a loser, it's VERY important to spell it right. Unless, of course, you meant "looser"... ;P
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
When calling someone a loser, it's VERY important to spell it right. Unless, of course, you meant "looser"... ;P
Mark Salsbery Microsoft MVP - Visual C++ :java:
nope, i meant "Loooooooooooser"... get it ? :rolleyes:
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
nope, i meant "Loooooooooooser"... get it ? :rolleyes:
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
I don't get it. Get it? Loooooooooser is much better.
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Jijo raj wrote:
Well, please do not
Please do read other answers before posting too ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
toxcct wrote:
Please do read other answers before posting too Poke tongue
I did before posting mine. :) Tox, I went through the thread once again and i think i read the posts randomly. :(( I've to be more careful while posting replies. :) And i thought about giving the same advice to him once again. Its absolutely free. ;P Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
-
toxcct wrote:
Please do read other answers before posting too Poke tongue
I did before posting mine. :) Tox, I went through the thread once again and i think i read the posts randomly. :(( I've to be more careful while posting replies. :) And i thought about giving the same advice to him once again. Its absolutely free. ;P Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.
nevermind ;)
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
alphaxz wrote:
大家好! 怎么取得当前使用的计算机的用户名呢?
Google translation says -
Good!
How to use the current computer user name?You could use the function -
NetWkstaUserGetInfo()
. For code snippet - check here[^]. Translation 您可以使用的功能- Netwkstausergetinfo( ) 。为程式码片段-检查在这里。 Well, please do not post questions in native language. Because those who can read it may not be able to answer it and those who can answer it may not be able to read it. ;) Regards, Jijo._____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.