Nator
Aug 23rd, 2001, 10:22 AM
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).
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).