Click here to Skip to main content
15,890,043 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extracting a Chinese Character from a CString Pin
wow999916-Sep-03 19:00
wow999916-Sep-03 19:00 
GeneralRe: Extracting a Chinese Character from a CString Pin
Michael Dunn16-Sep-03 19:31
sitebuilderMichael Dunn16-Sep-03 19:31 
Generalpattern recognition in string inputted by user Pin
Anz16-Sep-03 10:33
Anz16-Sep-03 10:33 
GeneralRe: pattern recognition in string inputted by user Pin
Michael Dunn16-Sep-03 17:52
sitebuilderMichael Dunn16-Sep-03 17:52 
GeneralRe: pattern recognition in string inputted by user Pin
DougW4816-Sep-03 19:09
DougW4816-Sep-03 19:09 
QuestionSerial Port Functions? Pin
Steven M Hunt16-Sep-03 9:24
Steven M Hunt16-Sep-03 9:24 
AnswerRe: Serial Port Functions? Pin
Jagadeesh VN16-Sep-03 21:19
Jagadeesh VN16-Sep-03 21:19 
QuestionHow to fix compiler warning ? Pin
Artem Moroz16-Sep-03 9:23
Artem Moroz16-Sep-03 9:23 
I have the following code:
<br />
void* fixaddr;<br />
DWORD delta<br />
.<br />
.<br />
.<br />
<br />
*((WORD *)fixaddr) += HIWORD(delta);<br />
.<br />
.<br />
.<br />


During compilation I get the following error:
warning C4244: '+=' : conversion from 'int' to 'unsigned short', possible loss of data

Since I don't want any warnings appear in my code I wonder how to fix this ?
AnswerRe: How to fix compiler warning ? Pin
Terry O'Nolley16-Sep-03 11:44
Terry O'Nolley16-Sep-03 11:44 
AnswerRe: How to fix compiler warning ? Pin
Phil Hamer16-Sep-03 16:13
Phil Hamer16-Sep-03 16:13 
GeneralRe: How to fix compiler warning ? Pin
David Crow17-Sep-03 3:16
David Crow17-Sep-03 3:16 
GeneralRe: How to fix compiler warning ? Pin
Phil Hamer17-Sep-03 11:37
Phil Hamer17-Sep-03 11:37 
AnswerRe: How to fix compiler warning ? Pin
Artem Moroz16-Sep-03 19:59
Artem Moroz16-Sep-03 19:59 
GeneralRe: How to fix compiler warning ? Pin
David Crow17-Sep-03 2:50
David Crow17-Sep-03 2:50 
GeneralRe: How to fix compiler warning ? Pin
Steve S17-Sep-03 6:04
Steve S17-Sep-03 6:04 
GeneralCMemoryState Pin
ComboController16-Sep-03 9:13
ComboController16-Sep-03 9:13 
GeneralRe: CMemoryState Pin
David Crow16-Sep-03 9:22
David Crow16-Sep-03 9:22 
GeneralRe: CMemoryState Pin
ComboController17-Sep-03 4:32
ComboController17-Sep-03 4:32 
GeneralRe: CMemoryState Pin
Steve S17-Sep-03 6:06
Steve S17-Sep-03 6:06 
GeneralRe: CMemoryState Pin
ComboController17-Sep-03 7:35
ComboController17-Sep-03 7:35 
Generallinking to ws2_32.lib Pin
ns16-Sep-03 8:46
ns16-Sep-03 8:46 
GeneralRe: linking to ws2_32.lib Pin
David Crow16-Sep-03 9:15
David Crow16-Sep-03 9:15 
Generalthanks! Pin
ns16-Sep-03 9:20
ns16-Sep-03 9:20 
GeneralRe: thanks! Pin
User 665816-Sep-03 10:36
User 665816-Sep-03 10:36 
GeneralLoad the dialogs in a tabcontrol.. Pin
Ruben93816-Sep-03 8:01
Ruben93816-Sep-03 8:01 

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.