Click here to Skip to main content
16,018,525 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
ZAID razvi24-Aug-23 23:45
ZAID razvi24-Aug-23 23:45 
AnswerRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
CPallini22-Aug-23 21:06
mveCPallini22-Aug-23 21:06 
PraiseRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
ThatsAlok23-Aug-23 17:01
ThatsAlok23-Aug-23 17:01 
GeneralOT Pin
CPallini23-Aug-23 19:59
mveCPallini23-Aug-23 19:59 
GeneralRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
ZAID razvi24-Aug-23 23:43
ZAID razvi24-Aug-23 23:43 
GeneralRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
CPallini24-Aug-23 23:47
mveCPallini24-Aug-23 23:47 
Questionconversions in 64 bit mode Pin
utcode21-Aug-23 18:35
utcode21-Aug-23 18:35 
AnswerRe: conversions in 64 bit mode Pin
CPallini21-Aug-23 20:41
mveCPallini21-Aug-23 20:41 
There is no 'safe way' to do those 'conversions'.
On x64 the int data type is a 32-bit integer, while both INT_PTR and LRESULT are 64-bit integers (long long, see Windows Data Types (BaseTsd.h) - Win32 apps | Microsoft Learn[^]), hence such conversions would 'narrow'.
Also, I believe there is no 'safe way' to convert a LRESULT to a BOOL, because the former value depends on context (see, for instance, Writing the Window Procedure - Win32 apps | Microsoft Learn[^]).
"In testa che avete, Signor di Ceprano?"
-- Rigoletto

AnswerRe: conversions in 64 bit mode PinPopular
Randor 22-Aug-23 1:13
professional Randor 22-Aug-23 1:13 
GeneralRe: conversions in 64 bit mode Pin
utcode22-Aug-23 17:46
utcode22-Aug-23 17:46 
GeneralRe: conversions in 64 bit mode Pin
Richard MacCutchan22-Aug-23 21:42
mveRichard MacCutchan22-Aug-23 21:42 
Questiongenerate PDF file Pin
utcode18-Aug-23 18:13
utcode18-Aug-23 18:13 
AnswerRe: generate PDF file Pin
Victor Nijegorodov18-Aug-23 21:03
Victor Nijegorodov18-Aug-23 21:03 
AnswerRe: generate PDF file Pin
jschell21-Aug-23 2:37
jschell21-Aug-23 2:37 
QuestionGet LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202317-Aug-23 22:04
Li Lin 202317-Aug-23 22:04 
AnswerRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Victor Nijegorodov17-Aug-23 23:16
Victor Nijegorodov17-Aug-23 23:16 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202320-Aug-23 14:38
Li Lin 202320-Aug-23 14:38 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Victor Nijegorodov21-Aug-23 8:11
Victor Nijegorodov21-Aug-23 8:11 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202321-Aug-23 15:29
Li Lin 202321-Aug-23 15:29 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Victor Nijegorodov21-Aug-23 21:47
Victor Nijegorodov21-Aug-23 21:47 
AnswerRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Richard MacCutchan20-Aug-23 21:51
mveRichard MacCutchan20-Aug-23 21:51 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202321-Aug-23 20:45
Li Lin 202321-Aug-23 20:45 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Richard MacCutchan21-Aug-23 21:28
mveRichard MacCutchan21-Aug-23 21:28 
AnswerRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Randor 22-Aug-23 1:23
professional Randor 22-Aug-23 1:23 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202322-Aug-23 14:30
Li Lin 202322-Aug-23 14:30 

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.