MaogangMG2Chen-9938 avatar image
0 Votes"
MaogangMG2Chen-9938 asked

IMsRdpClipboard mstscax.dll always return null

I use MsRdpClient9NotSafeForScripting in my winforms app.

Bellow is my code.
//code begin
private AxMSTSCLib.AxMsRdpClient9NotSafeForScripting rdp;
IMsRdpClientNonScriptable7 msRdpClientNonScriptable7 = (IMsRdpClientNonScriptable7)rdp.GetOcx();
object value = true;
extendedSettings.set_Property("ManualClipboardSyncEnabled", ref value);
IMsRdpClipboard clipboard = msRdpClientNonScriptable7.Clipboard;
if(clipboard != null)
// code end

The cliipboard is always null.

And I find no class implements IMsRdpClientNonScriptable7, then how to use this interface?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers