Questions tagged [virtual-channel]

Virtual channels allows Remote Desktop Services applications to transfer custom data between the RDP client and the RDP server.

21 questions
6
votes
0 answers

Is there a custom WCF binding for Remote Desktop Services (RDS) Dynamic Virtual Channels?

I would like to use RDS (Remote Desktop Services) Dynamic Virtual Channels in my code. There are some samples on the net how to do the raw communication over virtual channels and even a library for .NET (RDPAddins.NET) but I was wondering if there…
sn0wcat
  • 96
  • 4
3
votes
1 answer

VirtualChannelInit stucks

I'm developing an rdp virtual channel application. I've registered client side dll in registry and trying to understand, that client dll is loaded. But I'm getting stuck when calling pVirtualChannelInit from pEntryPoints. It just doesn't return any…
Dimson
  • 99
  • 11
3
votes
0 answers

Can I send messages from a client-side application to a server-side application using RDP virtual channels?

One of our integration partners is migrating their product to Terminal Services. While their product will exist within a Terminal Services session they will not allow third-parties to run their applications within the same session. Our integration…
pixelbadger
  • 1,556
  • 9
  • 24
2
votes
1 answer

IOS virtual channel tutorial

I am writing an application for iPad that will need to communicate to a server through a TS connection I have(the application) to able to pass RDP Settings and data to server. Virtual Channels seems to be exactly what I need but Microsoft's…
Pis
  • 105
  • 1
  • 6
1
vote
0 answers

32 bit Dynamic Virtual Channel

I have built a Dynamic Virtual Channel for RDP and it works fantastic in most cases, but there are some cases that I cannot get it to work and I am out of ideas as to why. Here is what I have tried and what works: Running the DVC plugin in proc on…
mageos
  • 1,216
  • 7
  • 15
1
vote
2 answers

WTSVirtualChannelRead Only reads the first letter of the string

I am trying to write a hello world type program for using virtual channels in the windows terminal services client. public partial class Form1 : Form { public Form1() { InitializeComponent(); } IntPtr mHandle =…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
1
vote
0 answers

SEHException when calling WTSVirtualChannelClose

I'm building application that will communicate with server using Remote Desktop Service API. I'm building my application using code found here: https://code.google.com/p/tstunnels/ and here:…
Misiu
  • 4,738
  • 21
  • 94
  • 198
0
votes
1 answer

Citrix wfapi/mfcom working example

I installed Wfapi SDK. All standard examples for Wfapi in VB and C work just fine but I wanted to wrap the dll to use it in C#. However the example from the official site VSSDKNET Wrapper converted into VS10 standard and compiled gives me the…
Ritro
  • 148
  • 3
  • 10
0
votes
2 answers

Can't send from Viewer to Host using Virtual Channels with Windows Desktop Sharing/RDPCOMAPILib

I'm creating a windows desktop sharing app and have everything working except the virtual channels for sending chat messages. I can send messages from the host to the Viewer but not vice versa. The Viewer is using the ActiveX RDPViewer. The problem…
0
votes
0 answers

WTSVirtualChannelOpenEx "The request is not supported"

I have both a client DLL and a server-side application, as according to the WinAPI virtual channel documentation: hVirtChannel = WTSVirtualChannelOpenEx(dwSessionId, const_cast(CHANNELNAME), 0); if (hVirtChannel == nullptr) …
Aiden
  • 11
  • 4
0
votes
2 answers

Using Virtual Channel on a 64-bit Client

I'm trying to write a Terminal Services add-in with .Net (VB or C#) and am following this project on Code Project: http://www.codeproject.com/KB/system/TSAddinInCS.aspx However, when trying to run this on a 64 bit Windows 7 OS, it doesn't run at…
Shawn Steward
  • 6,773
  • 3
  • 24
  • 45
0
votes
0 answers

Why Query with SM_REMOTESESSION succeeds but WTSIsRemoteSession fails?

I am using a free application virtualization app - Winflector. When I use GetSystemMetrics(SM_REMOTESESSION) the function correctly detects that application is running in a remote session, however, WTSQuerySessionInformationA() fails to detect and…
ultimate cause
  • 2,264
  • 4
  • 27
  • 44
0
votes
1 answer

Can't register DVC with Citrix

I'm writing a DVC plugin. The plugin works as expected with RDP. However when accessing with Citrix, nothing happens. According to the Citrix docs, registration proceeds as per the Microsoft docs for DVCs, which I've followed (backed up by…
Puppy
  • 144,682
  • 38
  • 256
  • 465
0
votes
1 answer

Dynamic Virtual Channels in RDP (Only built in domain admin account works)

We have a virtual channel set up using the TsTeleport API. Following are the parameters of our scenario better - We are passing a user identity from a client to an RDP session We have an application on the RDP server that loads the dll, then calls…
Scott Jasin
  • 117
  • 6
0
votes
1 answer

How to use Virtual Channels with two RemoteApps located on two different Servers?

I made a 64 bits c++ Virtual Channel Client DLL I updated my registry, using Virtual Channel Client Registration (I chose the Default\Addins way) If I start a Remote Dekstop connection, everything goes fine: my DLL is loaded in a process named…
manuell
  • 7,528
  • 5
  • 31
  • 58
1
2