Click here to Skip to main content
16,005,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: const type; Pin
Maximilien22-Jan-05 8:48
Maximilien22-Jan-05 8:48 
GeneralRe: const type; Pin
Joaquín M López Muñoz23-Jan-05 4:50
Joaquín M López Muñoz23-Jan-05 4:50 
QuestionHow to idntification device manufacture of pocket pc? Pin
arash47122-Jan-05 7:24
arash47122-Jan-05 7:24 
GeneralSend cookie in HTTP request Pin
dorutzu22-Jan-05 6:32
dorutzu22-Jan-05 6:32 
Questionremove installed programs programmatically? Pin
LukeV22-Jan-05 6:11
LukeV22-Jan-05 6:11 
AnswerRe: remove installed programs programmatically? Pin
ThatsAlok23-Jan-05 18:13
ThatsAlok23-Jan-05 18:13 
GeneralWMA Decoder Source Code Pin
aRtsZ22-Jan-05 5:37
aRtsZ22-Jan-05 5:37 
QuestionPut different data types in binary form in a char array? Pin
capriole22-Jan-05 5:22
capriole22-Jan-05 5:22 
I am new with C++ and I would like to know if it is possible to write and later extract from an array of type char, variables of different types (UINT, USHORT, ULONG) in binary form?

An example of what I want is

char buffer[BUFFERSIZE];

UINT a, b;
USHORT c;

Now I want to put these variables in their respective binary format in the buffer, send it down a TCP/IP socket and read it back in some other variables in a different process.

Thanks for any help.
AnswerRe: Put different data types in binary form in a char array? Pin
toxcct22-Jan-05 7:53
toxcct22-Jan-05 7:53 
GeneralRe: Put different data types in binary form in a char array? Pin
capriole25-Jan-05 5:39
capriole25-Jan-05 5:39 
GeneralRe: Put different data types in binary form in a char array? Pin
toxcct25-Jan-05 9:40
toxcct25-Jan-05 9:40 
QuestionRemedial UI Thread ? Pin
ddut22-Jan-05 4:48
ddut22-Jan-05 4:48 
AnswerRe: Remedial UI Thread ? Pin
Gary R. Wheeler22-Jan-05 10:50
Gary R. Wheeler22-Jan-05 10:50 
Generalplease tell me the difference Pin
vividwu22-Jan-05 3:32
vividwu22-Jan-05 3:32 
GeneralRe: please tell me the difference Pin
Bob Ciora22-Jan-05 3:49
Bob Ciora22-Jan-05 3:49 
GeneralGlobal Objects in MFC Programs Pin
phijophlip22-Jan-05 1:59
phijophlip22-Jan-05 1:59 
GeneralRe: Global Objects in MFC Programs Pin
Gary R. Wheeler22-Jan-05 3:15
Gary R. Wheeler22-Jan-05 3:15 
GeneralRe: Global Objects in MFC Programs Pin
Bob Ciora22-Jan-05 3:30
Bob Ciora22-Jan-05 3:30 
QuestionHow can I know if the user is pressing on a CButton for more than 250msec? (MFC CButton) Pin
rbid22-Jan-05 1:20
rbid22-Jan-05 1:20 
AnswerRe: How can I know if the user is pressing on a CButton for more than 250msec? (MFC CButton) Pin
Gary R. Wheeler22-Jan-05 2:25
Gary R. Wheeler22-Jan-05 2:25 
GeneralSome question about MCIWndSave() Pin
hcgiap21-Jan-05 22:40
hcgiap21-Jan-05 22:40 
GeneralRe: Some question about MCIWndSave() Pin
hcgiap24-Jan-05 7:59
hcgiap24-Jan-05 7:59 
GeneralUnit tests Pin
Ravi Bhavnani21-Jan-05 17:48
professionalRavi Bhavnani21-Jan-05 17:48 
GeneralRe: Unit tests Pin
Bob Ciora21-Jan-05 19:02
Bob Ciora21-Jan-05 19:02 
GeneralRe: Unit tests Pin
Henry miller24-Jan-05 4:47
Henry miller24-Jan-05 4:47 

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.