Click here to Skip to main content
15,798,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
ZAID razvi25-Aug-23 0:45
ZAID razvi25-Aug-23 0:45 
AnswerRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
CPallini22-Aug-23 22:06
mveCPallini22-Aug-23 22:06 
PraiseRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
ThatsAlok23-Aug-23 18:01
ThatsAlok23-Aug-23 18:01 
GeneralOT Pin
CPallini23-Aug-23 20:59
mveCPallini23-Aug-23 20:59 
GeneralRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
ZAID razvi25-Aug-23 0:43
ZAID razvi25-Aug-23 0:43 
GeneralRe: Invalid application of 'sizeof' to incomplete type 'struct Node' Pin
CPallini25-Aug-23 0:47
mveCPallini25-Aug-23 0:47 
Questionconversions in 64 bit mode Pin
wizQ21-Aug-23 19:35
wizQ21-Aug-23 19:35 
AnswerRe: conversions in 64 bit mode Pin
CPallini21-Aug-23 21:41
mveCPallini21-Aug-23 21: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 Pin
Randor 22-Aug-23 2:13
professional Randor 22-Aug-23 2:13 
GeneralRe: conversions in 64 bit mode Pin
wizQ22-Aug-23 18:46
wizQ22-Aug-23 18:46 
GeneralRe: conversions in 64 bit mode Pin
Richard MacCutchan22-Aug-23 22:42
mveRichard MacCutchan22-Aug-23 22:42 
Questiongenerate PDF file Pin
wizQ18-Aug-23 19:13
wizQ18-Aug-23 19:13 
AnswerRe: generate PDF file Pin
Victor Nijegorodov18-Aug-23 22:03
Victor Nijegorodov18-Aug-23 22:03 
AnswerRe: generate PDF file Pin
jschell21-Aug-23 3:37
jschell21-Aug-23 3:37 
QuestionGet LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202317-Aug-23 23:04
Li Lin 202317-Aug-23 23:04 
AnswerRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Victor Nijegorodov18-Aug-23 0:16
Victor Nijegorodov18-Aug-23 0:16 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202320-Aug-23 15:38
Li Lin 202320-Aug-23 15:38 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Victor Nijegorodov21-Aug-23 9:11
Victor Nijegorodov21-Aug-23 9:11 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202321-Aug-23 16:29
Li Lin 202321-Aug-23 16:29 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Victor Nijegorodov21-Aug-23 22:47
Victor Nijegorodov21-Aug-23 22:47 
AnswerRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Richard MacCutchan20-Aug-23 22:51
mveRichard MacCutchan20-Aug-23 22:51 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202321-Aug-23 21:45
Li Lin 202321-Aug-23 21:45 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Richard MacCutchan21-Aug-23 22:28
mveRichard MacCutchan21-Aug-23 22:28 
AnswerRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Randor 22-Aug-23 2:23
professional Randor 22-Aug-23 2:23 
GeneralRe: Get LVN_MARQUEEBEGIN in CListCtrl Pin
Li Lin 202322-Aug-23 15:30
Li Lin 202322-Aug-23 15: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.