Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BYTE to binary conversion Pin
r.ps24-Mar-10 3:01
r.ps24-Mar-10 3:01 
AnswerRe: BYTE to binary conversion Pin
Eugen Podsypalnikov23-Mar-10 23:33
Eugen Podsypalnikov23-Mar-10 23:33 
QuestionC++ dll to Call in VB Pin
jannathali23-Mar-10 21:30
jannathali23-Mar-10 21:30 
AnswerRe: C++ dll to Call in VB Pin
sunlin723-Mar-10 22:51
sunlin723-Mar-10 22:51 
AnswerRe: C++ dll to Call in VB Pin
KarstenK23-Mar-10 23:14
mveKarstenK23-Mar-10 23:14 
QuestionNTLM AUTH for SMTP server Pin
Aabid23-Mar-10 20:55
Aabid23-Mar-10 20:55 
AnswerRe: NTLM AUTH for SMTP server [modified] Pin
Moak24-Mar-10 4:30
Moak24-Mar-10 4:30 
Questiontooltip localization problem Pin
Member 59031023-Mar-10 20:42
Member 59031023-Mar-10 20:42 
AnswerRe: tooltip localization problem Pin
Richard MacCutchan23-Mar-10 22:34
mveRichard MacCutchan23-Mar-10 22:34 
GeneralRe: tooltip localization problem Pin
Member 59031023-Mar-10 22:51
Member 59031023-Mar-10 22:51 
GeneralRe: tooltip localization problem Pin
KarstenK23-Mar-10 23:15
mveKarstenK23-Mar-10 23:15 
GeneralRe: tooltip localization problem Pin
Richard MacCutchan23-Mar-10 23:17
mveRichard MacCutchan23-Mar-10 23:17 
GeneralRe: tooltip localization problem Pin
Member 59031023-Mar-10 23:21
Member 59031023-Mar-10 23:21 
GeneralRe: tooltip localization problem Pin
Richard MacCutchan24-Mar-10 0:04
mveRichard MacCutchan24-Mar-10 0:04 
GeneralRe: tooltip localization problem Pin
Member 59031024-Mar-10 0:18
Member 59031024-Mar-10 0:18 
GeneralRe: tooltip localization problem Pin
Richard MacCutchan24-Mar-10 1:47
mveRichard MacCutchan24-Mar-10 1:47 
Questionmultibyte tooltips Pin
Member 59031023-Mar-10 20:22
Member 59031023-Mar-10 20:22 
AnswerRe: multibyte tooltips Pin
Richard MacCutchan23-Mar-10 22:35
mveRichard MacCutchan23-Mar-10 22:35 
QuestionStrange problem with pointers Pin
anbluemoon23-Mar-10 18:23
anbluemoon23-Mar-10 18:23 
AnswerRe: Strange problem with pointers Pin
PaulowniaK23-Mar-10 18:59
PaulowniaK23-Mar-10 18:59 
AnswerRe: Strange problem with pointers Pin
KingsGambit23-Mar-10 19:18
KingsGambit23-Mar-10 19:18 
AnswerRe: Strange problem with pointers Pin
Avi Berger23-Mar-10 20:01
Avi Berger23-Mar-10 20:01 
GeneralRe: Strange problem with pointers Pin
anbluemoon23-Mar-10 22:47
anbluemoon23-Mar-10 22:47 
AnswerRe: Strange problem with pointers Pin
Mohan Ramachandra24-Mar-10 21:00
Mohan Ramachandra24-Mar-10 21:00 
QuestionWindows XP Problems since updating from VS2005 to VS2008 Pin
Joschwenk66623-Mar-10 11:12
Joschwenk66623-Mar-10 11:12 
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;


In Windows XP SystemParametersInfo() returns false, and there are the following Values in ncm after executing the SystemParametersInfo() Function:

Screenshot


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!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.