Search code examples
c#.netterminal-servicesvirtual-channel

How to create Terminal Services Server add in (virtual channel) in C#


I'm trying to create a dll as add in to Terminal Server to create a virtual channel communication with the server.

I found this example (http://www.codeproject.com/Articles/16374/How-to-Write-a-Terminal-Services-Add-in-in-Pure-C), which unfortunately doesn't works on 64 bit client (on 32 bit client working properly). I followed all the instructions of the author but nothing.

Can someone who has used this example help me?

Thanks, Luigi.


Solution

  • I found the solution. You need to download the new version of the application (available here) and in Visual Studio project properties , Build events tab replace /$(PlatformName) with /x64 constant in Post-build events command line box. With the environment variable it doesn't works.

    Thanks.