Hello Hugo,
thanks for your help.
I would like to get the machine name of the connected remote client.
WTSEnumerateSessions function retrieves a list of sessions on a specified terminal server. This include the machine name.
There is an example that I am trying to follow, but it is in Visual Basic.
I am having problems trying to convert VB code to Foxpro.
Maybe someone knows a URL that provides this conversion service.
Here is the Visual Basic example :
http://support.microsoft.com/default.aspx?scid=kb;en-us;291789Thanks,
Sergio