I have a client application that connects to two different class objects. On the local machine everything works fine.
On the remote machine, the class without events works fine (just calling a function), but the class with events gives me "Error 48 cannot load dll". The remote machine is Windows 2000 SP1, Local Machine is NT 4.0 Sp6. If I step through in debug mode, the error occures immediately after the get property statement below (which I see executing after the class is initialized )

Option Explicit
Public Property Get clsEserverConnect() As clseserver

Set clsEserverConnect = gclsEserver
End Property
'error occurs after End Property but only at the remote machine
'These execute fine
Private Sub Class_Initialize()
If gclsEserver Is Nothing Then
Set gclsEserver = New clseserver
End If
glngUseCount = glngUseCount + 1
End Sub



Private Sub Class_Terminate()
glngUseCount = glngUseCount - 1
If glngUseCount = 0 Then
Set gclsEserver = Nothing
End If

End Sub

Any help greatly appreciated.