Re: ping DelM: coInitialize



"Del M" <Del.Murray@xxxxxxxxxxxxxx> wrote in message
news:433155f1$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> I am switching to Delphi2005 over the next couple of weeks and hope that
the
> problem will go away.

We use D6 and (so far) haven't had any problems (IIS6 is another story). If
you are going to use D2005, I highly recommend looking into ASP.Net. You
don't have datamodules (which IMO, is the *biggest* missing piece of
Delphi.Net), so you either have to hard-code all the SQL and/or create
data-aware objects (Customer class, Invoice class, etc) that handle the
business logic. Automatic session handling alone is worth the price of
admission ( I think Nick Hodges blogged about the other great stuff)

> What really pisses me off is this ... if "coinit" is so damn sacred, why
> doesn't it happen automatically.

No kidding. It's COM's required 'plumbing' that makes .Net look better and
better. Hate it (huge required runtime, DLL hell is still there, if not
worse), or love it (garbage collection, O-O approach to getting at the
'plumbing', etc), .Net is where Microsoft is heading.

krf


.