|
-
Sep 28th, 2001, 11:56 AM
#1
Thread Starter
Member
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
-
Sep 28th, 2001, 02:51 PM
#2
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
-
Oct 1st, 2001, 08:42 AM
#3
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|