Hey,
I was trying to use this COleDateTime method within a MFC CDialog class.
This is an existing VC6 class being ported to VC7 as unmanaged code that was
using references to the old MFC ColeDateTime class, but I wanted to make use
of this new method. So the context is clearly MFC, but when compiling, it
complains that this method does not exist on ATL::ColeDateTime.
Best regards,
Bill
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
AST wrote: Hey,
Can anybody tell me why the ATL::ColeDateTime implementation is
referenced rather than the MFC implementation?
Referenced by what?
The method
GetAsDBTIMESTAMP(...) is only available on the MFC implementation and
not ATL. Is there a compiler directive or switch or namespace that I
am missing that precludes this?
You need to supply some context - what's forcing you to use the ATL
implementation?
-cd