ADO Based Datamodules in ISAPI applications

ADO Based Datamodules in ISAPI applications

Post by Dann » Thu, 01 Jul 2004 23:34:09


I have an application that uses a Datamodule with ADO components on it.

I would like to put an ISAPI (TWebModule) around this datamodule but having problems (basically the web server crashes). I think the problem is the use of ADO com components.

I have succeeded in using ADO in an ISAPI application that doesn't have seperate datamodules, using the ActiveX call coinitialize(nil),but, this doesn't seem to help with with my scenario of a seperate datamodule. I have tried putting coinitialse on the create event of both the TWebModule and the datamodule.

Any help appreciated, Danny.