Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. WTSVirtualChannelWrite fails, GetLastError returns ERROR_INVALID_FUNCTION

WTSVirtualChannelWrite fails, GetLastError returns ERROR_INVALID_FUNCTION

Scheduled Pinned Locked Moved C / C++ / MFC
testingbeta-testinghelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cefarix
    wrote on last edited by
    #1

    I've been trying to figure this one out for the past couple of days with no success :mad: Here's the relevant code: http://pastebin.ca/1419150 I'm testing this on a Windows XP SP3 virtual machine. I connect to it using mstsc from a Windows Vista Ultimate x64 machine (which is also the host for the XP virtual machine). The program running on the RDP host (the XP machine) also opens two other virtual channels in much the same way and they work fine. Any help is much appreciated :)

    R 1 Reply Last reply
    0
    • C cefarix

      I've been trying to figure this one out for the past couple of days with no success :mad: Here's the relevant code: http://pastebin.ca/1419150 I'm testing this on a Windows XP SP3 virtual machine. I connect to it using mstsc from a Windows Vista Ultimate x64 machine (which is also the host for the XP virtual machine). The program running on the RDP host (the XP machine) also opens two other virtual channels in much the same way and they work fine. Any help is much appreciated :)

      R Offline
      R Offline
      rep_movsd
      wrote on last edited by
      #2

      Sorry to wake this thread after 4 years, but did you find a solution to this problem? I have a static virtual channel plugin, It works fine between Windows 7 machines, but when I run use an XP client, the server fails at WTSVirtualChannelWrite with "Incorrect function" Please tell me if you found any clue!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups