This is a discussion on #import "msado15.dll" on x64 results in wrong typedef for ADO_LONG - ADO DAO RDO RDS ; We use ADO for database access in our product and started getting strange
failures when compiled x64. I think I've traced it to the face that the
msado15.tlh file generated by #import &quot;msado15.dll&quot; ends up with ADO_LONGPTR
being defined as:
...

#import "msado15.dll" on x64 results in wrong typedef for ADO_LONG

We use ADO for database access in our product and started getting strange
failures when compiled x64. I think I've traced it to the face that the
msado15.tlh file generated by #import "msado15.dll" ends up with ADO_LONGPTR
being defined as: