I've created a OLE object with a "tmBoth" threading model, but when attempt to use
this in the global.asa file so it can be stored in the application object, we get an
error -
Application object error 'ASP 0197 : 80004005'
Disallowed object use
Cannot add object with apartment model behaviour to the application intrinsic object.
Why does it still think the object follows the "apartment" threading model??. I've
looked at the IIS Doc's and they talk about having to use
"CoCreateFreeThreadedMarshaler" - is this a requirement and does anybody having any
examples of doing this?? This seems to apply I need to write a new "Comserver" object
- any ideas anybody??
The code which causes it in VBScript - on Application start.
Set DBObj = Server.CreateObject("MyObject.DBM")
Set Application("DBObj") = DBObj
Regards
Myles Penlington
Software Engineer
ADVANCED MANAGEMENT SYSTEMS
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz