Results 1 to 3 of 3

Thread: Calling a method in the DLL on remote MTS machine

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Minneapolis
    Posts
    42

    Calling a method in the DLL on remote MTS machine

    Hi,
    I have a dll ("XXX.dll") on MTS server running on a remote NT machine (The machine name is "ZZZ").
    I have to code a VB app on my machine which calls the method ("XXX.YYY") in the DLL ("XXX") of the remote MTS machine("ZZZ").

    Can come body tell me the steps to follow for doing this.
    Thanks in Advance,
    Srini

  2. #2
    jim mcnamara
    Guest
    Code:
    ' XXX has to an ActiveX dll, and registered as a server on  ZZZ
    Dim o as Object
    Set o = CreateObject("XXX","ZZZ")
    o.YYY (argument list...)
    
    Set o = Nothing

  3. #3
    New Member
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    11
    You can early bind instead to improve performance (a lot). Include a reference to the MTS DLL in your VB project, and when you come to deploy don't forget to export the client stub for the MTS package from the MTS server and include this stub (it'll be a small-ish EXE) in your VB Setup package. Run this on the client machines to register the remote DLL and your early binding should continue to work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width