Windows XP Problems since updating from VS2005 to VS2008
-
Sorry, wrong Forum, please delete this Thread Hallo, I upgraded from Visual Studio 2005 to Visual Studio 2008, and converted my Project from from VS2005 to VS2008. But now I get an Error in the following lines:
// Get the current font LOGFONT lFont; NONCLIENTMETRICS ncm; ncm.cbSize = sizeof(NONCLIENTMETRICS); VERIFY(SystemParametersInfo(SPI\_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncm, 0)); lFont = ncm.lfMessageFont;
SystemParametersInfo() returns false, and there are the following Values in ncm after executing the SystemParametersInfo() Function:
When I open my Project in Windows 7, it works without problem. In XP I get an access exeption in msvcr90d.dll when I ignore the failed execution of SystemParametersInfo. Can someone help me? Thank you!
-
Sorry, wrong Forum, please delete this Thread Hallo, I upgraded from Visual Studio 2005 to Visual Studio 2008, and converted my Project from from VS2005 to VS2008. But now I get an Error in the following lines:
// Get the current font LOGFONT lFont; NONCLIENTMETRICS ncm; ncm.cbSize = sizeof(NONCLIENTMETRICS); VERIFY(SystemParametersInfo(SPI\_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncm, 0)); lFont = ncm.lfMessageFont;
SystemParametersInfo() returns false, and there are the following Values in ncm after executing the SystemParametersInfo() Function:
When I open my Project in Windows 7, it works without problem. In XP I get an access exeption in msvcr90d.dll when I ignore the failed execution of SystemParametersInfo. Can someone help me? Thank you!