Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
- From: "Betsy" <betsy.a.tainer@xxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 08:37:59 -0700
Good job Stefan!
"Stefan Westner" <s@xxxxxxxxxx> wrote in message
news:425b8ae0@xxxxxxxxxxxxxxxxxxxxxxxxx
> Problem fixed. For some reason the SP 1-Update didn't update some
> OLEDB-files in program files\shared
> components\microsoft\system\oledb....
>
> Strange....
>
> Betsy wrote:
>
> > Stefan... I've experienced this up close and personal. The problem is
> > either a corrupted or incomplete or bad version of MDAC.
> >
> > The machines that I was dealing with happened to be xp machines which
> > it turns out were notorious for not allowing you to change or update
> > files... etc.
> >
> > I am lucky to have a helpdesk who is responsible for machine
> > configuration and they had to do it. But basically they used
> > microsoft tools to determine the 'configuration' of the MDAC to
> > report a list of conflicting files or determine which version was
> > installed.
> >
> > They had to go into safe mode on the machine and manually replace the
> > files included in the desired version of MDAC to make it all right...
> > it was a HUGE pain in the rear and took a long time... but it worked.
> >
> > Don't bother with just the one DLL... it's the whole package... you
> > have to get the MDAC right...
> >
> > Let us know how it goes!
> >
> > b
> > "Stefan Westner" <s@xxxxxxxxxx> wrote in message
> > news:425a50db@xxxxxxxxxxxxxxxxxxxxxxxxx
> > > Hello,
> > >
> > > I just upgraded my developer machine with SP1 for windows 2003. The
> > > machine runs under windows 2003 without service pack without
> > > problems. I could start delphi, create a datamodule and drop a
> > > TAdoConnection on it. After installing SP 1 I get an
> > >
> > > ---------------------------
> > > Project1: Project1.exe - Entrypoint not found
> > > ---------------------------
> > > the entry point "DefWindowProcI" was not found in DLL "MSDART.DLL".
> > > ---------------------------
> > > OK
> > > ---------------------------
> > >
> > > The error occurs in ADODB.pas in CoCreateInstance in
> > >
> > > function CreateADOObject(const ClassID: TGUID): IUnknown;
> > > var
> > > Status: HResult;
> > > FPUControlWord: Word;
> > > begin
> > > asm
> > > FNSTCW FPUControlWord
> > > end;
> > > Status := CoCreateInstance(ClassID, nil, CLSCTX_INPROC_SERVER or
> > > CLSCTX_LOCAL_SERVER, IUnknown, Result);
> > >
> > > I looked in the MSDART.DLL on a windows 2003 without SP 1 and there
> > > is a DefWindowsProcI in it. In the MSDART.DLL of SP 1 there is no
> > > prcoedure DefWindowsProcI anymore.
> > >
> > > How to fix the problem?
> > >
> > > Thanks
> > >
> > > Stefan Westner
>
.
- References:
- Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
- From: Stefan Westner
- Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
- From: Betsy
- Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
- From: Stefan Westner
- Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
- Prev by Date: Re: Ado Oracle Performance
- Next by Date: heterogeneous query
- Previous by thread: Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
- Next by thread: Re: Problem adding rows whithin a TDBGrid
- Index(es):
Relevant Pages
|