Results 1 to 2 of 2

Thread: Need a little clarification

  1. #1

    Thread Starter
    Lively Member Nator's Avatar
    Join Date
    Nov 1999
    Location
    East Larryville, GA
    Posts
    80

    Need a little clarification

    I have a DLL (MyDll) registered on a W2k (MyServer) server through the COM+ administrator (I just installed my DLL with the default options). For an app running on a client machine (a Win98 machine) needing to use MyDLL, my code should read:

    dim MyObj as Object
    Set MyObj = CreateObject("MyDll.MyClass", "MyServer")
    MyObj.Property1 = "Hello"
    MyObj.Property2 = "World"
    msgbox MyObj.Property1 & " " & MyObj.Property2

    Set MyObj = nothing

    I have NOT registered MyDll on the client machine using RegSvr32. My app should be able to utilize MyDll, correct? Do I have to register MyDll prior to using it or will my app register it because I have a value in my ServerString? If I have to register MyDLL on my client, how do I do it? Will RegSvr32 \\myserver\C$\dlls\mydll still provide me with the COM+ server features (security, library processing etc).

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    The code should work as is.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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