Re: Server Access via DCOM




"DR Bellavance" <DRBellavance@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BF6AFE67-D0B7-48C8-80AC-0D40307F77C3@xxxxxxxxxxxxxxxx
I am trying to create a client that can list all of the systems on a
network
that contain my ATL server and allow them to select and connect to the
server
on the machine that they want. I am using VC 6.0 and all of the machines
are
running XP Pro. My client is also using the IE control and the server
sends
events to the client that cause the client to load the appropriate HTML
page
in the control. This all works fine but I have a problem when I want to
launch another instance of the client application to connect to my ATL
server
on a different machine. The problem lies in the fact that I have embedded
ActiveX controls (written in ATL) on the html pages that are loaded by the
server. These controls provide function activation on the server that I
am
connected to. How can I get the controls on one client application to
access
the server on a different machine than the one being accessed by the
second
client instance? Any help would be greatly appreciated.


Using CoCreateInstanceEx() from within your ActiveX control (is it really an
ActiveX control or is it a simple COM object?) you can reach any machine by
machine name or IP address.

Or did I not understand your question correctly? I'm not sure where the
"second instance" comes into play.

Brian



.



Relevant Pages

  • Asp.net Important Topics.
    ... ASP.NET server controls contained within the page. ... A custom server control is ... can also perform validation using client script. ... Where does the Web page belong in the .NET Framework class hierarchy? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Access via DCOM
    ... other than setting the text for the object in the html page? ... global property setting in the IE control? ... needs a property indicating which server to connect to. ... able to start multiple instances of the client application and connect ...
    (microsoft.public.vc.atl)
  • Re: OWC Events in .Net
    ... Events always work on the client. ... is a client control. ... unload the contents of the spreadsheet into the ... followed by the button_click event on the server. ...
    (microsoft.public.office.developer.web.components)
  • Re: Version control in VC6?
    ... > control for different versions of my programs. ... > in the VC6 Professional package. ... both come with an MS SCC client which is plug-in ... Windows on the server side as well, but I'd stay out of that). ...
    (microsoft.public.vc.ide_general)
  • Re: Entwicklung von Unix-Anwendung mit C++ (m/w)/ NRW : Ref.-Nr.: 37302/1
    ... I am responsible for design and implementation of the persistent data server working with mySQL. ... Developed within very short time the product was successfully installed ... Reengineering and implementing a display tool for Experimental Physics Industrial Control System ... Developed an operator interface under X Window for High Energy Physics Accelerator Control System. ...
    (de.markt.arbeit.d)

Loading