i use the following code to send a word to com1,
WORD wCommand=0x0D0A;
WriteFile(hComm,&wCommand,sizeof(WORD), &dwWritten, &osWrite);

at the com2,i receive the data,but the order changes to 0A0D,why?
How should i do to solve this problem?