D
Dave Williamson
We have seen in some situations that our applications return the PC
Name of the remote client that connected to a WinXP desktop rather
than the PC Name of the WinXP desktop.
This only seems to happen when the WinXP desktop is connected to
remotely before it has been logged in at the console for the first
time.
For Example: If the application is running on a WinXP box named
JoeBob and the desktop on this PC is connected to via remote desktop
before being logged in at the console (by another WinXP box named
JoeSmoe) .... then the application running on JoeBob will report that
the PC name is JoeSmoe.
The application is using the API
Private Declare Function GetComputerName Lib "kernel32.dll" Alias
"GetComputerNameA" (ByVal Buffer As String, sz As Long) As Long
Name of the remote client that connected to a WinXP desktop rather
than the PC Name of the WinXP desktop.
This only seems to happen when the WinXP desktop is connected to
remotely before it has been logged in at the console for the first
time.
For Example: If the application is running on a WinXP box named
JoeBob and the desktop on this PC is connected to via remote desktop
before being logged in at the console (by another WinXP box named
JoeSmoe) .... then the application running on JoeBob will report that
the PC name is JoeSmoe.
The application is using the API
Private Declare Function GetComputerName Lib "kernel32.dll" Alias
"GetComputerNameA" (ByVal Buffer As String, sz As Long) As Long