O
Ophir
Hello all !
I wrote a simple ActiveX DLL to wrap winsock functionality so I can
use it in an ASP page.
I call it MyWinSock
In the Class module I use this declaration:
Dim ctlSocket as Variant.
In the Class_Initialize() I wrote the following:
Set ctlSocket = CreateObject("MSWinsock.Winsock")
Now the problem is: When I make an instance of the class MyWinSock
from another VB program - everything works fine.
When I make an instance of it from IIS on my computer via ASP page -
it works fine.
When I try to make an instance of it from an ASP page located on
another computer via its IIS I get an error:
"MyWinSock (0x800A01AD)
ActiveX component can't create object"
As far as I could understand the error occures when MyWinSock trys to
make an instance of the Winsock object. If I don't try to make an
instance of the Winsock control everything is OK.
I registered the component in the remote computer and checked that all
registery entries for it are correct.
Any help will be appriciated.
Thanks
Ophir.
I wrote a simple ActiveX DLL to wrap winsock functionality so I can
use it in an ASP page.
I call it MyWinSock
In the Class module I use this declaration:
Dim ctlSocket as Variant.
In the Class_Initialize() I wrote the following:
Set ctlSocket = CreateObject("MSWinsock.Winsock")
Now the problem is: When I make an instance of the class MyWinSock
from another VB program - everything works fine.
When I make an instance of it from IIS on my computer via ASP page -
it works fine.
When I try to make an instance of it from an ASP page located on
another computer via its IIS I get an error:
"MyWinSock (0x800A01AD)
ActiveX component can't create object"
As far as I could understand the error occures when MyWinSock trys to
make an instance of the Winsock object. If I don't try to make an
instance of the Winsock control everything is OK.
I registered the component in the remote computer and checked that all
registery entries for it are correct.
Any help will be appriciated.
Thanks
Ophir.