ActiveX DLL works from VB, not from ASP

We’ve got an ActiveX DLL (based on ATL from within VC6) that works great
when accessed from Visual Basic. But when it’s accessed via Active Server
Pages / IIS, weird problems start to occur. I’m digging through MSDN now…
any recommendations on where to look, common problems, “oh yeah, you need
the ABCDE workaround”, etc?

Thanks!

> We’ve got an ActiveX DLL (based on ATL from within VC6) that works great

when accessed from Visual Basic. But when it’s accessed via Active Server
Pages / IIS, weird problems start to occur. I’m digging through MSDN

Do you have the correct threading model for your component?
ASP/IIS use apartment model. So, your component must be written for
apartment threading (global data are lock-protected, object instances are
not

  • each belongs to one and only one thread).

Max