|
-
Aug 23rd, 2001, 10:22 AM
#1
Thread Starter
Lively Member
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).
-
Aug 24th, 2001, 02:20 PM
#2
Frenzied Member
The code should work as is.
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
|