WTSOpenServer does not return a handle even for the local MC

  • Thread starter Thread starter GFT
  • Start date Start date
G

GFT

Hi,
I'm trying to automate terminal service client. I created the API
calls for the WTSOpenServer in C#, but this call always returns zero
for the handle. I used System.Environment.MachineName as the MC name,
but still get zero handle.
Can somebody help me please.
thanks
gt
 
Please post your code, or at least a short workable sample that shows the
problem.

Willy.

GFT said:
Hi,
I'm trying to automate terminal service client. I created the API
calls for the WTSOpenServer in C#, but this call always returns zero
for the handle. I used System.Environment.MachineName as the MC name,
but still get zero handle.
Can somebody help me please.
thanks
gt
 
Back
Top