From: Thomas C. <cal...@gm...> - 2014-09-17 11:31:54
|
Hi, Thanks for the feedback. On Tue, Sep 16, 2014 at 8:14 PM, Bernhard Miklautz < ber...@sh...> wrote: > Hi Thomas, > > On Tue, Sep 16, 2014 at 06:44:52PM +0200, Thomas Calderon wrote: > > This happens when you connect to the RDP server using legacy "rdp" mode. > > The graphical logon screen is displayed and my plugin code runs. The > issue > > is that very early in the client code, I have an "Invalid descriptor" > error > > when using WTSVirtualChannelOpenEx. > did GetLastError give any further details? > Unfortunately, GetLastError did not provide additional details. > > > I am wondering if you are allowed to use DVCs while the user has not yet > > authenticated himself. > > Could anyone confirm this ? > Interesting question. > Not sure if it's allowed or not but I could imagine that if the dynamic > virtual channel (drdynvc) is not (yet) loaded the open call will fail. > Did you try to open the channel "delayed"? - E.g. if you get an invalid > handle wait for some time and retry opening? > I will try this approach and see what happens. I will post an update on the ML. > > Best regards, > Bernhard > Regards, Thomas Calderon |