Here's some MFC code: // scale the viewport to use twips (1440 units per inch) pDC->SetMapMode(MM_TWIPS); pDC->SetMapMode(MM_ANISOTROPIC); pDC->ScaleViewportExt(1, 1, -1, 1); // draw a horizontal line 1 inch long pDC->MoveTo(0, 1000); pDC->LineTo(1440, 1000); This produces very different results inside Parallels from what it does on a non-virtual XP install - the line is about 1/3rd of the usual length. And yet GetDeviceCaps(pDC->m_hDC, LOGPIXELSX) returns the same value on my Parallels install of XP and on real XP machines. I assume this is some quirk of the display driver? I can provide a test program if anyone is interested in fixing this!
This doesn't occur if I uninstall Parallels Tools, so it must be something wrong with the Parallels display driver.
Could you please check this in Build 3106 Beta3 (http://forum.parallels.com/thread7110.html)? We fixed some bugs in video driver there - your problem should be solved as well.