'GetUserNameEx': identifier not found error
I am trying to use "GetUserNameEx" function with VS.Net but facing some trouble while compiling this. I am getting error as
"error C3861: 'GetUserNameEx': identifier not found, even with argument-dependent lookup"
I verified that Secur32.dll is available in system32 directory. And I added Secure32.lib in "Project properties -> Linker -> General -> Additional Library Directories also. But still no success.
Is it something to do with not able to locate this lib and dll files? how can i confirm that Secure32.lib file is visible to this project? ( by default where will be libraries residing? )