Click here to Skip to main content
15,899,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get username of a system Pin
usman_0709-May-06 4:20
usman_0709-May-06 4:20 
AnswerRe: how to get username of a system Pin
SmokingRope229-May-06 4:35
SmokingRope229-May-06 4:35 
QuestionPointer address Pin
Frigyes Nagy9-May-06 4:00
Frigyes Nagy9-May-06 4:00 
AnswerRe: Pointer address Pin
Magnus Westin9-May-06 4:23
Magnus Westin9-May-06 4:23 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 5:50
Frigyes Nagy9-May-06 5:50 
GeneralRe: Pointer address Pin
Maximilien9-May-06 6:49
Maximilien9-May-06 6:49 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 7:24
Frigyes Nagy9-May-06 7:24 
AnswerRe: Pointer address Pin
Maxwell Chen9-May-06 7:30
Maxwell Chen9-May-06 7:30 
Frigyes Nagy wrote:
I never find any pointer address less then 1000.


There is a trick (a MACRO) found in the library to count the memory offset of the data member from the address of the struct which owns the data member.

It takes a pointer with the address = 0.



Maxwell Chen
AnswerRe: Pointer address Pin
Maxwell Chen9-May-06 7:48
Maxwell Chen9-May-06 7:48 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 8:43
Frigyes Nagy9-May-06 8:43 
AnswerRe: Pointer address Pin
Maxwell Chen9-May-06 7:40
Maxwell Chen9-May-06 7:40 
GeneralRe: Pointer address Pin
Frigyes Nagy9-May-06 8:33
Frigyes Nagy9-May-06 8:33 
GeneralRe: Pointer address Pin
Maxwell Chen9-May-06 8:51
Maxwell Chen9-May-06 8:51 
Questionmax number of threads/Win32 process Pin
Shiva Prasad9-May-06 3:43
Shiva Prasad9-May-06 3:43 
AnswerRe: max number of threads/Win32 process Pin
Magnus Westin9-May-06 3:50
Magnus Westin9-May-06 3:50 
AnswerRe: max number of threads/Win32 process Pin
Cedric Moonen9-May-06 3:52
Cedric Moonen9-May-06 3:52 
QuestionHow to delete a row in listctrl using Keyboard delete Pin
Raja Bose C Leo9-May-06 2:47
Raja Bose C Leo9-May-06 2:47 
AnswerRe: How to delete a row in listctrl using Keyboard delete Pin
RChin9-May-06 3:00
RChin9-May-06 3:00 
Questionmicrosoft Pin
Krishnatv9-May-06 2:46
Krishnatv9-May-06 2:46 
AnswerRe: microsoft Pin
toxcct9-May-06 2:52
toxcct9-May-06 2:52 
GeneralRe: microsoft Pin
Krishnatv9-May-06 3:01
Krishnatv9-May-06 3:01 
AnswerRe: microsoft Pin
Rage9-May-06 3:12
professionalRage9-May-06 3:12 
QuestionMemory Leak, context Device Pin
LinDaSu9-May-06 2:44
LinDaSu9-May-06 2:44 
AnswerRe: Memory Leak, context Device Pin
Magnus Westin9-May-06 4:10
Magnus Westin9-May-06 4:10 
Questionservice in c++,mfc Pin
raghuji.rao9-May-06 2:28
raghuji.rao9-May-06 2:28 

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.