Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll



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
>


.



Relevant Pages

  • Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
    ... > Stefan... ... > either a corrupted or incomplete or bad version of MDAC. ... After installing SP 1 I get an ... >> prcoedure DefWindowsProcI anymore. ...
    (borland.public.delphi.database.ado)
  • Re: Delphi 7, TAdoConnection, Windows 2003 SP 1, MSDart.dll
    ... > either a corrupted or incomplete or bad version of MDAC. ... After installing SP 1 I get an ... >> prcoedure DefWindowsProcI anymore. ... >> Stefan Westner ...
    (borland.public.delphi.database.ado)
  • Re: How to revert from MDAC 2.8 to 2.7?
    ... That article, which point to the rollback, should work with MDAC 2.8 as ... > All of the machines are of identical hardware configurations, same OS, ... > And the MDAC install docs state that installing an older version will not ...
    (microsoft.public.data.ado)
  • Re: Access2000 to SQLServer2000 on an XP Nachine (sqlsrv32.dll)
    ... sqlsrv32.dll is part of MDAC. ... > I am having a problem connecting to my SQL server. ... A handful of Windows 2000 machines used to give ... > SQL Server Error: 0 ...
    (microsoft.public.data.odbc)
  • Re: MDAC
    ... before installing the latest version of MDAC it didn't connect and give ... this is the first time it is happening to me. ... are reluctant to install the latest version of MDAC in all the machines ...
    (comp.databases.ms-access)