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

C / C++ / MFC

 
GeneralOT Pin
Bob Stanneveld8-Jun-05 2:25
Bob Stanneveld8-Jun-05 2:25 
GeneralRe: OT Pin
ThatsAlok8-Jun-05 2:36
ThatsAlok8-Jun-05 2:36 
GeneralRe: OT Pin
Bob Stanneveld8-Jun-05 2:40
Bob Stanneveld8-Jun-05 2:40 
GeneralRe: OT Pin
toxcct8-Jun-05 5:09
toxcct8-Jun-05 5:09 
GeneralRe: OT Pin
Bob Stanneveld8-Jun-05 5:13
Bob Stanneveld8-Jun-05 5:13 
GeneralRe: change control postion during runtime in win32 Pin
daydremer8-Jun-05 3:13
daydremer8-Jun-05 3:13 
Generalunsigned chars to unsigned short Pin
richiemac8-Jun-05 1:12
richiemac8-Jun-05 1:12 
GeneralRe: unsigned chars to unsigned short Pin
toxcct8-Jun-05 1:17
toxcct8-Jun-05 1:17 
<font color=blue>unsigned char</font> ucMSB = 0x6F,
              ucLSB = 0xA4;
 
<font color=green>// We want (usVal == 0x6FA4)...</font>
<font color=blue>unsigned short</font> usVal = (((<font color=blue>unsigned short</font>)ucMSB) << 8) | ((<font color=blue>unsigned short</font>)ucLSB);


easy isn't it ?! Big Grin | :-D

pssst: it seems that you have some troubles with bytes manipulation ; as it is not the first time you ask such question... what are you trying to do with all these ?


TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralRe: unsigned chars to unsigned short Pin
richiemac8-Jun-05 2:15
richiemac8-Jun-05 2:15 
GeneralRe: unsigned chars to unsigned short Pin
Bob Stanneveld8-Jun-05 1:24
Bob Stanneveld8-Jun-05 1:24 
GeneralRe: unsigned chars to unsigned short Pin
toxcct8-Jun-05 1:31
toxcct8-Jun-05 1:31 
GeneralRe: unsigned chars to unsigned short Pin
Bob Stanneveld8-Jun-05 1:35
Bob Stanneveld8-Jun-05 1:35 
GeneralRe: unsigned chars to unsigned short Pin
toxcct8-Jun-05 1:38
toxcct8-Jun-05 1:38 
GeneralRe: unsigned chars to unsigned short Pin
Bob Stanneveld8-Jun-05 1:41
Bob Stanneveld8-Jun-05 1:41 
GeneralRe: unsigned chars to unsigned short Pin
ThatsAlok8-Jun-05 1:59
ThatsAlok8-Jun-05 1:59 
GeneralRe: unsigned chars to unsigned short Pin
richiemac8-Jun-05 2:16
richiemac8-Jun-05 2:16 
GeneralForced exit of an application Pin
Asha Udupa8-Jun-05 0:41
Asha Udupa8-Jun-05 0:41 
GeneralRe: Forced exit of an application Pin
Bob Stanneveld8-Jun-05 1:03
Bob Stanneveld8-Jun-05 1:03 
GeneralRe: Forced exit of an application Pin
ThatsAlok8-Jun-05 1:06
ThatsAlok8-Jun-05 1:06 
GeneralRe: Forced exit of an application Pin
Bob Stanneveld8-Jun-05 1:08
Bob Stanneveld8-Jun-05 1:08 
GeneralRe: Forced exit of an application Pin
Asha Udupa8-Jun-05 1:15
Asha Udupa8-Jun-05 1:15 
GeneralRe: Forced exit of an application Pin
Bob Stanneveld8-Jun-05 1:19
Bob Stanneveld8-Jun-05 1:19 
GeneralRe: Forced exit of an application Pin
Tom Archer8-Jun-05 2:59
Tom Archer8-Jun-05 2:59 
GeneralRe: Forced exit of an application Pin
Bob Stanneveld8-Jun-05 3:06
Bob Stanneveld8-Jun-05 3:06 
GeneralRe: Forced exit of an application Pin
Tom Archer8-Jun-05 3:23
Tom Archer8-Jun-05 3: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.