asked on
C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the C programming language to improve type-safety and add support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.
TRUSTED BY
ASKER
I used GetUserNameEx function to retrieve user name and domain of given thread. This is much more easier than your approach.
What is advantage over your approach and mine.
Tnx,
Saravanan