Click here to Skip to main content
14,392,608 members

C / C++ / MFC

 
GeneralRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 11:49
MemberVictor Nijegorodov2-Oct-19 11:49 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614642-Oct-19 12:04
MemberMember 126614642-Oct-19 12:04 
GeneralRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 20:46
MemberVictor Nijegorodov2-Oct-19 20:46 
AnswerRe: Displays the image in Picture Control. Pin
Richard MacCutchan2-Oct-19 22:49
mveRichard MacCutchan2-Oct-19 22:49 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614643-Oct-19 7:15
MemberMember 126614643-Oct-19 7:15 
GeneralRe: Displays the image in Picture Control. Pin
Richard MacCutchan3-Oct-19 7:18
mveRichard MacCutchan3-Oct-19 7:18 
AnswerRe: Displays the image in Picture Control. Pin
Member 126614647-Oct-19 12:34
MemberMember 126614647-Oct-19 12:34 
Questionsigned value is out of range for enum constant Pin
_Flaviu2-Oct-19 8:04
Member_Flaviu2-Oct-19 8:04 
I am trying to convert some code from Linux to Windows. So, I've met two warnings at one single line of code:
typedef enum {
	SOME_LINK =
	const le64(0x022B4AAC34546A39ULL),  // <-- warning C4341: 'SOME_LINK' : signed value is out of range for enum constant
                                        // <-- warning C4309: 'initializing' : truncation of constant value
....

of course, I can disable this warning, but I want to do things right Smile | :) how can I get rid of this warning by a correction ? It is possible ?

modified 3-Oct-19 1:50am.

AnswerRe: signed value is out of range for enum constant Pin
Gerry Schmitz2-Oct-19 8:15
mveGerry Schmitz2-Oct-19 8:15 
GeneralRe: signed value is out of range for enum constant Pin
_Flaviu2-Oct-19 8:43
Member_Flaviu2-Oct-19 8:43 
AnswerRe: signed value is out of range for enum constant Pin
Daniel Pfeffer2-Oct-19 21:11
professionalDaniel Pfeffer2-Oct-19 21:11 
AnswerRe: signed value is out of range for enum constant Pin
CPallini3-Oct-19 0:36
mveCPallini3-Oct-19 0:36 
GeneralRe: signed value is out of range for enum constant Pin
_Flaviu3-Oct-19 1:23
Member_Flaviu3-Oct-19 1:23 
QuestionRe: signed value is out of range for enum constant Pin
CPallini3-Oct-19 1:40
mveCPallini3-Oct-19 1:40 
AnswerRe: signed value is out of range for enum constant Pin
_Flaviu3-Oct-19 1:57
Member_Flaviu3-Oct-19 1:57 
QuestionHow to set EM_SETCUEBANNER in a Edit Control Pin
Member 118036072-Oct-19 7:20
MemberMember 118036072-Oct-19 7:20 
QuestionRe: How to set EM_SETCUEBANNER in a Edit Control Pin
David Crow2-Oct-19 7:43
MemberDavid Crow2-Oct-19 7:43 
AnswerRe: How to set EM_SETCUEBANNER in a Edit Control Pin
_Flaviu2-Oct-19 7:52
Member_Flaviu2-Oct-19 7:52 
QuestionRead value Memory (private working set) of windows using c++ Pin
Member 142210411-Oct-19 17:20
MemberMember 142210411-Oct-19 17:20 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Victor Nijegorodov1-Oct-19 21:16
MemberVictor Nijegorodov1-Oct-19 21:16 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Victor Nijegorodov1-Oct-19 21:21
MemberVictor Nijegorodov1-Oct-19 21:21 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Richard MacCutchan1-Oct-19 22:41
mveRichard MacCutchan1-Oct-19 22:41 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Gerry Schmitz2-Oct-19 7:46
mveGerry Schmitz2-Oct-19 7:46 
QuestionMessage_Map MFC vc++ Pin
Member 1457555630-Sep-19 21:38
MemberMember 1457555630-Sep-19 21:38 
AnswerRe: Message_Map MFC vc++ Pin
CPallini30-Sep-19 21:56
mveCPallini30-Sep-19 21:56 

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.