ADO 2.1 > 2.5 Break binary compatibility

ADO 2.1 > 2.5 Break binary compatibility

Post by Rob Wilkinso » Thu, 17 Aug 2000 04:00:00



Hello
I installed ADO 2.5 on my computer, when I recompiled my code (VB6) I got an
binary compatibility issue with adodb.recordset.
Is there any MS or other guides for changing between ADO 2.1 and 2.5 or has
any one got some suggestions.

Brian.

 
 
 

ADO 2.1 > 2.5 Break binary compatibility

Post by Bruce Sanderso » Fri, 18 Aug 2000 04:00:00


As far as I am concerned this is one of the thorniest issues with using ADO.  ADO Recordsets are objects.  Each version of MDAC uses
a different interface for the Recordset object; that is, different GUIDs.  Thus the binary compatibility issue.

I wish that the bright minds at Microsoft would put some energy in into finding a way to provide straightforward backward
compatibility for ADO versions so developers don't have to work around the issue.

In the meantime, see MS KB articles :

Q259379  HOWTO: Develop with ADO Version 2.5 and Install on ADO Version 2.0
           http://support.microsoft.com/support/kb/articles/Q259/3/79.ASP
Q195049 HOWTO: Maintain Binary Compatibility in Components Exposing ADO
           http://support.microsoft.com/support/kb/articles/Q195/0/49.ASP
Q216389 INFO: Maintaining Binary Compatibility in Components with ADOR
           http://support.microsoft.com/support/kb/articles/Q216/3/89.ASP

Happiness is understanding how things work!

It is futile to know the correct answer to the wrong question!



> Hello
> I installed ADO 2.5 on my computer, when I recompiled my code (VB6) I got an
> binary compatibility issue with adodb.recordset.
> Is there any MS or other guides for changing between ADO 2.1 and 2.5 or has
> any one got some suggestions.

> Brian.