Terminal Services code examples

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.terminalserver.applications (More info?)

Hello,

I am looking for some code examples the uses the wtsapi32.dll to connect to another machine.
No matter in what language.

Can anybody help me out?
 
Archived from groups: microsoft.public.windowsnt.terminalserver.applications (More info?)

You can use WTSOpenServer to connect to a remote machine, in c/c++:
#include <wtsapi32.h>
.....
HANDLE hSrv = NULL;
hSrv = WTSOpenServer(pServerName);
.....
.....
Please msdn for more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_api_reference.asp


--
This posting is provided "AS IS" with no warranties, and confers no rights


"shuan" <shuan@discussions.microsoft.com> wrote in message
news:F5C96864-DF7A-4CE5-90C1-A9EE4AD450F3@microsoft.com...
> Hello,
>
> I am looking for some code examples the uses the wtsapi32.dll to connect
to another machine.
> No matter in what language.
>
> Can anybody help me out?
 
Archived from groups: microsoft.public.windowsnt.terminalserver.applications (More info?)

Thanks alot, soo.

I would like to develop an rdp client with the ability to open a "seamless" application (without the annoying blue background).

Are any tips you can offer?

"Soo Kuan Teo [MS]" wrote:

> You can use WTSOpenServer to connect to a remote machine, in c/c++:
> #include <wtsapi32.h>
> .....
> HANDLE hSrv = NULL;
> hSrv = WTSOpenServer(pServerName);
> .....
> .....
> Please msdn for more info:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_api_reference.asp
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "shuan" <shuan@discussions.microsoft.com> wrote in message
> news:F5C96864-DF7A-4CE5-90C1-A9EE4AD450F3@microsoft.com...
> > Hello,
> >
> > I am looking for some code examples the uses the wtsapi32.dll to connect
> to another machine.
> > No matter in what language.
> >
> > Can anybody help me out?
>
>
>
 
Archived from groups: microsoft.public.windowsnt.terminalserver.applications (More info?)

The only way to do that would be to either invest a LOT of time if you
already master TS programming or to become an RDP licensee (and pay a LOT of
money to get the RDP specs).
We developed this without the RDP specs and sell it as a product called
WTSPortal.

--
Cláudio Rodrigues

Microsoft MVP
Windows Technologies - Terminal Services
http://www.terminal-services.net
"shaun" <shaun@discussions.microsoft.com> wrote in message
news:CA77244B-1963-4C3C-B2AF-4EFC2E3F6274@microsoft.com...
> Thanks alot, soo.
>
> I would like to develop an rdp client with the ability to open a
"seamless" application (without the annoying blue background).
>
> Are any tips you can offer?
>
> "Soo Kuan Teo [MS]" wrote:
>
> > You can use WTSOpenServer to connect to a remote machine, in c/c++:
> > #include <wtsapi32.h>
> > .....
> > HANDLE hSrv = NULL;
> > hSrv = WTSOpenServer(pServerName);
> > .....
> > .....
> > Please msdn for more info:
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_api_reference.asp
> >
> >
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
rights
> >
> >
> > "shuan" <shuan@discussions.microsoft.com> wrote in message
> > news:F5C96864-DF7A-4CE5-90C1-A9EE4AD450F3@microsoft.com...
> > > Hello,
> > >
> > > I am looking for some code examples the uses the wtsapi32.dll to
connect
> > to another machine.
> > > No matter in what language.
> > >
> > > Can anybody help me out?
> >
> >
> >