Click here to Skip to main content
15,798,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extracting a Chinese Character from a CString Pin
wow999916-Sep-03 20:00
wow999916-Sep-03 20:00 
GeneralRe: Extracting a Chinese Character from a CString Pin
Michael Dunn16-Sep-03 20:31
sitebuilderMichael Dunn16-Sep-03 20:31 
Generalpattern recognition in string inputted by user Pin
Anz16-Sep-03 11:33
Anz16-Sep-03 11:33 
GeneralRe: pattern recognition in string inputted by user Pin
Michael Dunn16-Sep-03 18:52
sitebuilderMichael Dunn16-Sep-03 18:52 
GeneralRe: pattern recognition in string inputted by user Pin
DougW4816-Sep-03 20:09
DougW4816-Sep-03 20:09 
QuestionSerial Port Functions? Pin
Steven M Hunt16-Sep-03 10:24
Steven M Hunt16-Sep-03 10:24 
AnswerRe: Serial Port Functions? Pin
Jagadeesh VN16-Sep-03 22:19
Jagadeesh VN16-Sep-03 22:19 
QuestionHow to fix compiler warning ? Pin
Artem Moroz16-Sep-03 10:23
Artem Moroz16-Sep-03 10: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 12:44
Terry O'Nolley16-Sep-03 12:44 
AnswerRe: How to fix compiler warning ? Pin
Phil Hamer16-Sep-03 17:13
Phil Hamer16-Sep-03 17:13 
GeneralRe: How to fix compiler warning ? Pin
David Crow17-Sep-03 4:16
David Crow17-Sep-03 4:16 
GeneralRe: How to fix compiler warning ? Pin
Phil Hamer17-Sep-03 12:37
Phil Hamer17-Sep-03 12:37 
AnswerRe: How to fix compiler warning ? Pin
Artem Moroz16-Sep-03 20:59
Artem Moroz16-Sep-03 20:59 
GeneralRe: How to fix compiler warning ? Pin
David Crow17-Sep-03 3:50
David Crow17-Sep-03 3:50 
GeneralRe: How to fix compiler warning ? Pin
Steve S17-Sep-03 7:04
Steve S17-Sep-03 7:04 
GeneralCMemoryState Pin
ComboController16-Sep-03 10:13
ComboController16-Sep-03 10:13 
GeneralRe: CMemoryState Pin
David Crow16-Sep-03 10:22
David Crow16-Sep-03 10:22 
GeneralRe: CMemoryState Pin
ComboController17-Sep-03 5:32
ComboController17-Sep-03 5:32 
GeneralRe: CMemoryState Pin
Steve S17-Sep-03 7:06
Steve S17-Sep-03 7:06 
GeneralRe: CMemoryState Pin
ComboController17-Sep-03 8:35
ComboController17-Sep-03 8:35 
Generallinking to ws2_32.lib Pin
ns16-Sep-03 9:46
ns16-Sep-03 9:46 
GeneralRe: linking to ws2_32.lib Pin
David Crow16-Sep-03 10:15
David Crow16-Sep-03 10:15 
Generalthanks! Pin
ns16-Sep-03 10:20
ns16-Sep-03 10:20 
GeneralRe: thanks! Pin
User 665816-Sep-03 11:36
User 665816-Sep-03 11:36 
GeneralLoad the dialogs in a tabcontrol.. Pin
Ruben93816-Sep-03 9:01
Ruben93816-Sep-03 9: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.