question...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Darren Brook

    #1

    question...


    I have an important technical query about COM....

    I have a small project which requires some work to finish it off.

    The scenario is as follows:

    I have a VB6 application on server A (it has to be a VB6 app because it has
    to respond to a DDE request) which needs to launch an application on server
    B.

    The application on server B is also a VB6 application and uses COM to
    communicate with a third application on server B. The third application on
    Server B has a GUI which is required to be displayed to the user on server
    A. so far I have embedded a MSRDPCLIENT object in the application on server
    A, which successfully launches the application on server B.

    The problem comes when a new request is received by server A. The embedded
    MSRDPCLIENT object only seems to have a disconnect function which doesn't
    end the session on sever B - meaning that a new connection request creates a
    new session - this eats up server resources and will bring server B to a
    halt very quickly. What I need is a way of communicating to the already
    established session, telling it of a revised parameter and allowing the
    existing session to do it's stuff.

    My research has led me to believe that there is something called
    VirtualChannels which would allow this communication to take place, though I
    am unsure if this is the case or not.

    Hope you can help.

    Thanks,

    Darren

    Darren Brook
    email: darrenbrook@btc onnect.com





  • Ralph

    #2
    Re: question...


    "Darren Brook" <D_Brook@btinte rnet.com> wrote in message
    news:keydnWvZmt 5zouHZRVnyvw@bt .com...[color=blue]
    >
    > I have an important technical query about COM....
    >
    > I have a small project which requires some work to finish it off.
    >
    > The scenario is as follows:
    >
    > I have a VB6 application on server A (it has to be a VB6 app because it[/color]
    has[color=blue]
    > to respond to a DDE request) which needs to launch an application on[/color]
    server[color=blue]
    > B.
    >
    > The application on server B is also a VB6 application and uses COM to
    > communicate with a third application on server B. The third application[/color]
    on[color=blue]
    > Server B has a GUI which is required to be displayed to the user on server
    > A. so far I have embedded a MSRDPCLIENT object in the application on[/color]
    server[color=blue]
    > A, which successfully launches the application on server B.
    >
    > The problem comes when a new request is received by server A. The[/color]
    embedded[color=blue]
    > MSRDPCLIENT object only seems to have a disconnect function which doesn't
    > end the session on sever B - meaning that a new connection request creates[/color]
    a[color=blue]
    > new session - this eats up server resources and will bring server B to a
    > halt very quickly. What I need is a way of communicating to the already
    > established session, telling it of a revised parameter and allowing the
    > existing session to do it's stuff.
    >
    > My research has led me to believe that there is something called
    > VirtualChannels which would allow this communication to take place, though[/color]
    I[color=blue]
    > am unsure if this is the case or not.
    >
    > Hope you can help.
    >
    > Thanks,
    >
    > Darren
    >
    > Darren Brook
    > email: darrenbrook@btc onnect.com
    >[/color]

    Why not just use COM+ messaging?


    Comment

    Working...