Click here to Skip to main content
15,880,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 10:49
Victor Nijegorodov2-Oct-19 10:49 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614642-Oct-19 11:04
Member 126614642-Oct-19 11:04 
GeneralRe: Displays the image in Picture Control. Pin
Victor Nijegorodov2-Oct-19 19:46
Victor Nijegorodov2-Oct-19 19:46 
AnswerRe: Displays the image in Picture Control. Pin
Richard MacCutchan2-Oct-19 21:49
mveRichard MacCutchan2-Oct-19 21:49 
GeneralRe: Displays the image in Picture Control. Pin
Member 126614643-Oct-19 6:15
Member 126614643-Oct-19 6:15 
GeneralRe: Displays the image in Picture Control. Pin
Richard MacCutchan3-Oct-19 6:18
mveRichard MacCutchan3-Oct-19 6:18 
AnswerRe: Displays the image in Picture Control. Pin
Member 126614647-Oct-19 11:34
Member 126614647-Oct-19 11:34 
Questionsigned value is out of range for enum constant Pin
_Flaviu2-Oct-19 7:04
_Flaviu2-Oct-19 7:04 
I am trying to convert some code from Linux to Windows. So, I've met two warnings at one single line of code:
C++
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 7:15
mveGerry Schmitz2-Oct-19 7:15 
GeneralRe: signed value is out of range for enum constant Pin
_Flaviu2-Oct-19 7:43
_Flaviu2-Oct-19 7:43 
AnswerRe: signed value is out of range for enum constant Pin
Daniel Pfeffer2-Oct-19 20:11
professionalDaniel Pfeffer2-Oct-19 20:11 
AnswerRe: signed value is out of range for enum constant Pin
CPallini2-Oct-19 23:36
mveCPallini2-Oct-19 23:36 
GeneralRe: signed value is out of range for enum constant Pin
_Flaviu3-Oct-19 0:23
_Flaviu3-Oct-19 0:23 
QuestionRe: signed value is out of range for enum constant Pin
CPallini3-Oct-19 0:40
mveCPallini3-Oct-19 0:40 
AnswerRe: signed value is out of range for enum constant Pin
_Flaviu3-Oct-19 0:57
_Flaviu3-Oct-19 0:57 
QuestionHow to set EM_SETCUEBANNER in a Edit Control Pin
Member 118036072-Oct-19 6:20
Member 118036072-Oct-19 6:20 
QuestionRe: How to set EM_SETCUEBANNER in a Edit Control Pin
David Crow2-Oct-19 6:43
David Crow2-Oct-19 6:43 
AnswerRe: How to set EM_SETCUEBANNER in a Edit Control Pin
_Flaviu2-Oct-19 6:52
_Flaviu2-Oct-19 6:52 
QuestionRead value Memory (private working set) of windows using c++ Pin
Member 142210411-Oct-19 16:20
Member 142210411-Oct-19 16:20 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Victor Nijegorodov1-Oct-19 20:16
Victor Nijegorodov1-Oct-19 20:16 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Victor Nijegorodov1-Oct-19 20:21
Victor Nijegorodov1-Oct-19 20:21 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Richard MacCutchan1-Oct-19 21:41
mveRichard MacCutchan1-Oct-19 21:41 
AnswerRe: Read value Memory (private working set) of windows using c++ Pin
Gerry Schmitz2-Oct-19 6:46
mveGerry Schmitz2-Oct-19 6:46 
QuestionMessage_Map MFC vc++ Pin
Member 1457555630-Sep-19 20:38
Member 1457555630-Sep-19 20:38 
AnswerRe: Message_Map MFC vc++ Pin
CPallini30-Sep-19 20:56
mveCPallini30-Sep-19 20: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.