Click here to Skip to main content
14,604,102 members

C / C++ / MFC

 
GeneralRe: Accessing HDD drive Pin
Richard MacCutchan19-Apr-20 3:01
mveRichard MacCutchan19-Apr-20 3:01 
GeneralRe: Accessing HDD drive Pin
Richard MacCutchan19-Apr-20 3:25
mveRichard MacCutchan19-Apr-20 3:25 
GeneralRe: Accessing HDD drive Pin
_Flaviu19-Apr-20 8:48
Member_Flaviu19-Apr-20 8:48 
GeneralRe: Accessing HDD drive Pin
JudyL_MD19-Apr-20 4:31
MemberJudyL_MD19-Apr-20 4:31 
Questionvoid type Pin
CalinNegru(fearless_)10-Apr-20 22:20
MemberCalinNegru(fearless_)10-Apr-20 22:20 
AnswerRe: void type Pin
Richard MacCutchan10-Apr-20 22:25
mveRichard MacCutchan10-Apr-20 22:25 
GeneralRe: void type Pin
CalinNegru(fearless_)10-Apr-20 22:44
MemberCalinNegru(fearless_)10-Apr-20 22:44 
GeneralRe: void type Pin
Richard MacCutchan10-Apr-20 23:18
mveRichard MacCutchan10-Apr-20 23:18 
fearless_ wrote:
I don`t understand how void works
It's just a way of allowing the compiler to generate the correct code for a pointer, without needing to know what it actually points to. It is often used when the ultimate data may be more than one type. In order to access the actual content you need to use a cast, like you have shown above.

As to the structure of the real data, you will need to look at the documentation.
GeneralRe: void type Pin
Member 798912211-Apr-20 1:22
MemberMember 798912211-Apr-20 1:22 
GeneralRe: void type Pin
CalinNegru(fearless_)11-Apr-20 10:25
MemberCalinNegru(fearless_)11-Apr-20 10:25 
GeneralRe: void type Pin
Member 798912211-Apr-20 11:36
MemberMember 798912211-Apr-20 11:36 
GeneralRe: void type Pin
Richard MacCutchan11-Apr-20 23:40
mveRichard MacCutchan11-Apr-20 23:40 
GeneralRe: void type Pin
Member 798912211-Apr-20 12:01
MemberMember 798912211-Apr-20 12:01 
GeneralRe: void type Pin
Greg Utas12-Apr-20 0:20
professionalGreg Utas12-Apr-20 0:20 
GeneralRe: void type Pin
leon de boer11-Apr-20 21:51
Memberleon de boer11-Apr-20 21:51 
GeneralRe: void type Pin
CalinNegru(fearless_)11-Apr-20 21:47
MemberCalinNegru(fearless_)11-Apr-20 21:47 
QuestionHow do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 5:57
MemberPotatoSoup6-Apr-20 5:57 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan6-Apr-20 6:21
mveRichard MacCutchan6-Apr-20 6:21 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 6:46
MemberPotatoSoup6-Apr-20 6:46 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan6-Apr-20 7:04
mveRichard MacCutchan6-Apr-20 7:04 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 7:26
MemberPotatoSoup6-Apr-20 7:26 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 8:24
MemberVictor Nijegorodov6-Apr-20 8:24 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 8:43
MemberPotatoSoup6-Apr-20 8:43 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 8:49
MemberVictor Nijegorodov6-Apr-20 8:49 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 11:07
MemberPotatoSoup6-Apr-20 11:07 

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.