المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : WTSVirtualChannelWrite fails, GetLastError returns ERROR_INVALID_FUNCTION



C++ Programming
05-12-2009, 04:11 PM
I've been trying to figure this one out for the past couple of days with no success http://www.barakasoft.com/script/Forums/Images/smiley_mad.gif

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 http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif