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
L

lokimeg

@lokimeg
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MSTSCAX ActiveX Ctrl
    L lokimeg

    Hello Antti !!! 1.) The URL you provided doesn't work now. I'm also trying to make an activeX COM client for RDP connections. Can you please upload the code again & send the URL ? 2.) How can we create the instance pointer of IMsTscAx interface class? code:-

    void Connect()

    {//*pInterface pointer will be used to call the methods to make rdp connection

    IMsTscAx *pInterface;
    CLSID clsid = __uuidof(MSTSCLib::MsTscAx);
    IID iid = __uuidof(MSTSCLib::IMsTscAx);

    HRESULT hrInterface=CoCreateInstance(clsid,NULL,CLSCTX_INPROC_SERVER,iid,void**)&pInterface);

    /* but here pInterface becomes NULL because clsid = __uuidof(MSTSCLib::MsTscAx)is not a valid value but if I use clsid = __uuidof(MSTSCLib::MsRdpClient2) then clsid comes out to a valid value {CLSID_MicrosoftRDP Client Control (redist)} and interface pointer pInterface also gets filled n initialized, but then after setting all the rdp connection parameters, HRESULT hrConnect = pInterface->Connect() doesn't work though hrConnect gives success message. */

    pInterface->PutDomain("spider.net");
    pInterface->PutServer("192.168.10.195");
    HRESULT hrConnect = pInterface->Connect();

    }

    Is there any other way(besides done in my code) to fill this interface pointer *pInterface ?? Please help. Regards, Lokesh

    C / C++ / MFC com question
  • Login

  • Don't have an account? Register

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