Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: working with byte arrays Pin
jkirkerx23-Oct-11 8:07
professionaljkirkerx23-Oct-11 8:07 
GeneralRe: working with byte arrays Pin
Richard MacCutchan23-Oct-11 8:26
mveRichard MacCutchan23-Oct-11 8:26 
AnswerRe: working with byte arrays Pin
Erudite_Eric23-Oct-11 1:58
Erudite_Eric23-Oct-11 1:58 
GeneralRe: working with byte arrays Pin
jkirkerx23-Oct-11 8:22
professionaljkirkerx23-Oct-11 8:22 
GeneralRe: working with byte arrays Pin
Goto_Label_23-Oct-11 8:44
Goto_Label_23-Oct-11 8:44 
GeneralRe: working with byte arrays Pin
Richard MacCutchan23-Oct-11 9:02
mveRichard MacCutchan23-Oct-11 9:02 
GeneralRe: well done, you cracked the code Pin
App_23-Oct-11 9:06
App_23-Oct-11 9:06 
GeneralRe: working with byte arrays Pin
jkirkerx23-Oct-11 9:18
professionaljkirkerx23-Oct-11 9:18 
Give me an hour to digest the knowledge you presented, looks very helpful and promising.

perhaps in words,

get the message length the packet declared
make a new byte array
copy the message only to the new byte array, leaving the packet header behind

then pass the message to the function, and extract the ; delimited data.
GeneralRe: working with byte arrays Pin
jkirkerx23-Oct-11 9:30
professionaljkirkerx23-Oct-11 9:30 
GeneralRe: working with byte arrays Pin
Richard MacCutchan23-Oct-11 9:38
mveRichard MacCutchan23-Oct-11 9:38 
GeneralRe: working with byte arrays Pin
jkirkerx23-Oct-11 9:42
professionaljkirkerx23-Oct-11 9:42 
GeneralRe: working with byte arrays Pin
Richard MacCutchan23-Oct-11 9:56
mveRichard MacCutchan23-Oct-11 9:56 
GeneralRe: working with byte arrays Pin
jkirkerx23-Oct-11 10:06
professionaljkirkerx23-Oct-11 10:06 
GeneralRe: It's like watching a soap on TV! Oh the supense Pin
Goto_Label_23-Oct-11 10:15
Goto_Label_23-Oct-11 10:15 
GeneralRe: It's like watching a soap on TV! Oh the supense Pin
jkirkerx23-Oct-11 10:21
professionaljkirkerx23-Oct-11 10:21 
GeneralRe: working with byte arrays Pin
Richard MacCutchan23-Oct-11 22:19
mveRichard MacCutchan23-Oct-11 22:19 
GeneralRe: pasing byte arrays to functions Pin
App_23-Oct-11 9:09
App_23-Oct-11 9:09 
GeneralRe: pasing byte arrays to functions Pin
jkirkerx23-Oct-11 9:13
professionaljkirkerx23-Oct-11 9:13 
GeneralRe: pasing byte arrays to functions Pin
Richard MacCutchan23-Oct-11 9:35
mveRichard MacCutchan23-Oct-11 9:35 
AnswerRe: working with byte arrays Pin
jschell24-Oct-11 8:36
jschell24-Oct-11 8:36 
GeneralRe: working with byte arrays Pin
jkirkerx24-Oct-11 10:47
professionaljkirkerx24-Oct-11 10:47 
GeneralRe: working with byte arrays Pin
jschell25-Oct-11 7:57
jschell25-Oct-11 7:57 
GeneralRe: working with byte arrays Pin
jkirkerx25-Oct-11 8:27
professionaljkirkerx25-Oct-11 8:27 
Questiondll from win32 console. Pin
appollosputnik22-Oct-11 4:35
appollosputnik22-Oct-11 4:35 
AnswerRe: dll from win32 console. Pin
Chris Losinger22-Oct-11 5:22
professionalChris Losinger22-Oct-11 5:22 

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.