Click here to Skip to main content
15,896,409 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: anyone can help me to explain code below? Pin
CPallini7-Mar-08 2:31
mveCPallini7-Mar-08 2:31 
AnswerRe: anyone can help me to explain code below? Pin
Hamid_RT9-Mar-08 1:00
Hamid_RT9-Mar-08 1:00 
QuestionVisual Studio Browser Pin
Henri7-Mar-08 0:34
Henri7-Mar-08 0:34 
GeneralRe: Visual Studio Browser Pin
kanduripavan11-Mar-08 16:54
kanduripavan11-Mar-08 16:54 
General[RESOLVED]: Compile Error during project conversion from VC++6.0 to VC++ 2005 [modified] Pin
Priya_Sundar6-Mar-08 23:33
Priya_Sundar6-Mar-08 23:33 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
toxcct6-Mar-08 23:58
toxcct6-Mar-08 23:58 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Priya_Sundar7-Mar-08 0:38
Priya_Sundar7-Mar-08 0:38 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Nathan Holt at EMOM7-Mar-08 5:58
Nathan Holt at EMOM7-Mar-08 5:58 
Priya_Sundar wrote:
Yes it did resolve my error. But now i am getting a warning.

"warning C4310: cast truncates constant value"

I need to assign a value between 0 - 127 to resolve the warning. But since the val for 0xb6 is 182, will i not be able to eliminate this warning?

Any suggestions?


Priya Sundar


The actual range of acceptable values should be -128 to 127, and I think 0xB6 maps to -74. However, I think unsigned char is the right type for what you are doing, and CString requiring a signed character poses a problem. You may be able to use a string "\xB6" instead of a character to initialize the CString.

Nathan
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
prasad_som7-Mar-08 4:01
prasad_som7-Mar-08 4:01 
GeneralRe: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Mike Dimmick7-Mar-08 13:56
Mike Dimmick7-Mar-08 13:56 
General[RESOLVED]: Compile Error during project conversion from VC++6.0 to VC++ 2005 Pin
Priya_Sundar9-Mar-08 18:38
Priya_Sundar9-Mar-08 18:38 
GeneralProblem accessing C++ Win32 Dll from Managed C++/C# application Pin
s.m.shah6-Mar-08 23:19
s.m.shah6-Mar-08 23:19 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
toxcct6-Mar-08 23:30
toxcct6-Mar-08 23:30 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
s.m.shah6-Mar-08 23:41
s.m.shah6-Mar-08 23:41 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
toxcct6-Mar-08 23:56
toxcct6-Mar-08 23:56 
GeneralData in Memory Pin
Anu_Bala6-Mar-08 22:37
Anu_Bala6-Mar-08 22:37 
GeneralRe: Data in Memory Pin
CPallini7-Mar-08 0:29
mveCPallini7-Mar-08 0:29 
GeneralRe: Data in Memory Pin
Koder7-Mar-08 9:17
Koder7-Mar-08 9:17 
Questionabout return values.. Pin
savitri6-Mar-08 22:29
savitri6-Mar-08 22:29 
GeneralRe: about return values.. Pin
toxcct6-Mar-08 22:33
toxcct6-Mar-08 22:33 
GeneralRe: about return values.. Pin
Rajkumar R6-Mar-08 22:53
Rajkumar R6-Mar-08 22:53 
GeneralRe: about return values.. Pin
Maxwell Chen6-Mar-08 23:08
Maxwell Chen6-Mar-08 23:08 
QuestionRe: about return values.. Pin
Rajesh R Subramanian6-Mar-08 23:15
professionalRajesh R Subramanian6-Mar-08 23:15 
GeneralRe: about return values.. Pin
Maxwell Chen6-Mar-08 23:17
Maxwell Chen6-Mar-08 23:17 
GeneralRe: about return values.. Pin
Rajkumar R6-Mar-08 23:56
Rajkumar R6-Mar-08 23:56 

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.