Hi All,

The below sample of code is failing in MSWord 2007 in windows vista 64 bit but the same is fine with the application Windows Photo Gallery Viewer.

CDC objDC;
objDC.m_hDC = CreateCompatibl eDC(NULL);

Need help.