ADO Based Datamodules in ISAPI applications

From: Danny (NoEmail_at_NoEmail.com)
Date: 06/30/04


Date: 30 Jun 2004 07:34:09 -0700


Hi,

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.



Relevant Pages

  • Re: Corrupt DataModule?
    ... I did not put visual controls in the data module. ... > controls in DataModule or yours test not apply to the problem, ... >> So either the problem is in the number of ADO components that are in one ...
    (borland.public.delphi.database.ado)
  • open/close procedures
    ... I have an application that I'm adding some ADO components to and with the ... components on a datamodule I have errors closing the application. ... too many cosecutive exceptions' blah blah blah. ...
    (borland.public.delphi.database.ado)
  • Re: Corrupt DataModule?
    ... You were referring that Visual Controls are not reflecting properly changes ... in DataModule or yours test not apply to the problem, ... > decided to copy all the tables and queries to the new data module. ... > So either the problem is in the number of ADO components that are in one ...
    (borland.public.delphi.database.ado)
  • Re: ADO + CoInitialize in threads? Mystery...
    ... Bas van Beek wrote: ... > drop ADO Components on a form or datamodule and use those objects in ... :-) This is a DataModule with at least one ... Cell: +46 733 442464 ...
    (borland.public.delphi.database.ado)