Click here to Skip to main content
15,904,346 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: pointers - not updated Pin
Blake Miller22-Sep-03 11:54
Blake Miller22-Sep-03 11:54 
QuestionRemote machine Information??? Pin
maharsoft20-Sep-03 19:49
maharsoft20-Sep-03 19:49 
AnswerRe: Remote machine Information??? Pin
Blake Coverett20-Sep-03 19:59
Blake Coverett20-Sep-03 19:59 
GeneralAPI to capture Login event Pin
rohit.dhamija20-Sep-03 18:50
rohit.dhamija20-Sep-03 18:50 
GeneralRe: API to capture Login event Pin
Mike Dimmick21-Sep-03 1:39
Mike Dimmick21-Sep-03 1:39 
GeneralRe: API to capture Login event Pin
rohit.dhamija21-Sep-03 19:01
rohit.dhamija21-Sep-03 19:01 
GeneralVariant Access Pin
Sirrius20-Sep-03 18:37
Sirrius20-Sep-03 18:37 
GeneralRe: Variant Access Pin
ZoogieZork21-Sep-03 8:00
ZoogieZork21-Sep-03 8:00 
I think your question was answered elsewhere, but it might be helpful to know about union structures to accomplish something like this.

Example:
union PeekInt {
    unsigned short int i;
    struct {
        char b1;
        char b2;
    } bytes;
} mpi;
This specifies that the mpi.bytes structure occupies the same memory space as mpi.i, so mpi.bytes.b1 will let you access the first byte and mpi.bytes.b2 will let you access the second byte.

- Mike
GeneralRe: Variant Access Pin
Sirrius21-Sep-03 17:43
Sirrius21-Sep-03 17:43 
QuestionOld version of C++ 1.32...upgrade? Pin
Matthew Fuchs20-Sep-03 14:49
sussMatthew Fuchs20-Sep-03 14:49 
AnswerRe: Old version of C++ 1.32...upgrade? Pin
Ravi Bhavnani20-Sep-03 16:17
professionalRavi Bhavnani20-Sep-03 16:17 
AnswerRe: Old version of C++ 1.32...upgrade? Pin
David Crow20-Sep-03 16:51
David Crow20-Sep-03 16:51 
AnswerRe: Old version of C++ 1.32...upgrade? Pin
Michael Dunn20-Sep-03 17:23
sitebuilderMichael Dunn20-Sep-03 17:23 
GeneralC help Pin
Sirrius20-Sep-03 13:16
Sirrius20-Sep-03 13:16 
GeneralRe: C help Pin
Stefan Pedersen20-Sep-03 14:12
Stefan Pedersen20-Sep-03 14:12 
GeneralRe: C help Pin
Sirrius20-Sep-03 14:17
Sirrius20-Sep-03 14:17 
GeneralRe: C help Pin
Stefan Pedersen20-Sep-03 15:38
Stefan Pedersen20-Sep-03 15:38 
GeneralRe: C help Pin
Sirrius20-Sep-03 16:54
Sirrius20-Sep-03 16:54 
GeneralRe: C help Pin
ZoogieZork20-Sep-03 17:25
ZoogieZork20-Sep-03 17:25 
GeneralRe: C help Pin
Sirrius20-Sep-03 17:27
Sirrius20-Sep-03 17:27 
GeneralRe: C help Pin
David Crow20-Sep-03 16:57
David Crow20-Sep-03 16:57 
GeneralRe: C help Pin
Sirrius20-Sep-03 17:25
Sirrius20-Sep-03 17:25 
GeneralRe: C help Pin
Gary R. Wheeler21-Sep-03 2:30
Gary R. Wheeler21-Sep-03 2:30 
GeneralC++ Question. Pin
WREY20-Sep-03 11:57
WREY20-Sep-03 11:57 
GeneralRe: C++ Question. Pin
Neville Franks20-Sep-03 12:23
Neville Franks20-Sep-03 12:23 

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.