Activex dll

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.
 
B

Benjie Fallar

as long as it complies to COM specs, yes! you can use REGSVR32.exe to
register a ActiveX DLL
 
A

Alan Kosmonov

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?
 
G

George Ter-Saakov

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top