ATL related build error in x64 configuration

  • Thread starter Thread starter Jy_13
  • Start date Start date
J

Jy_13

Guest
Hi,

I'm working on this legacy product, and it builds fine in 32 bit using VS 2017. However, it the x64 configuration, it gives the following error:

Error C2259 'ATL::CComContainedObject<contained>': cannot instantiate abstract class
with
[
contained=OLEDBCommand
]
CComContainedObject<contained> m_contained;

c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\atlmfc\include\atlcom.h 3582

It does give any further information as to which class' object it is trying to instantiate. Appreciate any clues on how to deal with this error.

TIA,

Jy

Continue reading...
 
Back
Top