Activex dll

  • Thread starter Thread starter Alan Kosmonov
  • Start date Start date
A

Alan Kosmonov

how do we register an activex dll in win98? is regsvr32 sufficient? I want
to create an object in asp. it is no problem in win2000 by assignin the dll
to the component services COM+ applications.
 
as long as it complies to COM specs, yes! you can use REGSVR32.exe to
register a ActiveX DLL
 
is this the only way in win98?
is it possible then to write?
set obj= Server.CreateObject("mypackage.myclass")

in win2000 or winXP when i register the dll only with regsvr32 it cannot
create the object?
 
1.The term "register dll" means "to put correct phrases into registry".
You can do it manually but usually DLL does it itself by exporting
DllRegisterServer.

Regsvr32 loads DLL into memory then it locates DllRegisterServer and calls
it.

So it's hard to answer the question is it the onyl way or not.

2. regsvr32 works fine for win2000 and winXP. I think you have a security
problem. Because both systems usually have NTFS with security in place. And
IIS account might not have permission to read the folder and load DLL into
their memory space.

So you have to give IIS account rights to read the DLL file.




George.
 
Back
Top