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

3.5k Views Asked by At

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.

2

There are 2 best solutions below

1
On BEST ANSWER

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.

0
On

He has improved the program further at codeplex:

http://rdpaddins.codeplex.com/