Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: cannot get program to work can someone tell me what I am doing wrong Pin
Richard Andrew x642-Aug-09 8:02
professionalRichard Andrew x642-Aug-09 8:02 
GeneralRe: cannot get program to work can someone tell me what I am doing wrong Pin
Rozis2-Aug-09 8:34
Rozis2-Aug-09 8:34 
Questionhow use CDialog in Win32 API? Pin
bsh01281-Aug-09 7:58
bsh01281-Aug-09 7:58 
AnswerRe: how use CDialog in Win32 API? Pin
Bacon Ultimate Cheeseburger1-Aug-09 11:27
Bacon Ultimate Cheeseburger1-Aug-09 11:27 
QuestionExact type of HGDIOBJ (pen, brush, font, etc.) Pin
japcrword1-Aug-09 1:13
japcrword1-Aug-09 1:13 
AnswerRe: Exact type of HGDIOBJ (pen, brush, font, etc.) Pin
Bacon Ultimate Cheeseburger1-Aug-09 1:27
Bacon Ultimate Cheeseburger1-Aug-09 1:27 
QuestionUnhandled exception occur ant points at afxcoll.inl line 306. Pin
Le@rner31-Jul-09 23:44
Le@rner31-Jul-09 23:44 
Questionicstring and VS2008 - warning Pin
achainard31-Jul-09 23:08
achainard31-Jul-09 23:08 
Hi i use the icstring (stl insensitive case string) implementation from Adapted from The C++ Standard Library - A Tutorial and Reference by Nicolai M. Josuttis, Addison-Wesley
-> http://www.josuttis.com/libbook/string/icstring.hpp.html

i try to compile it with vs2008 and i have nasty warning :

C:\Program Files\Microsoft Visual Studio 9.0\VC\include\iosfwd(589) : warning C4996: 'std::_Traits_helper::copy_s': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\iosfwd(604) : see declaration of 'std::_Traits_helper::copy_s'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xstring(2155) : see reference to function template instantiation 'std::char_traits<char>::char_type *std::_Traits_helper::copy_s<_Traits>(std::char_traits<char>::char_type *,size_t,const std::char_traits<char>::char_type *,size_t)' being compiled
with
[
_Traits=std::ignorecase_traits
]
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xstring(2148) : while compiling class template member function 'void std::basic_string<_Elem,_Traits>::_Tidy(bool,unsigned int)'
with
[
_Elem=char,
_Traits=std::ignorecase_traits
]
d:\dev\projet\code\core\io\..\String\icstring(77) : see reference to class template instantiation 'std::basic_string<_Elem,_Traits>' being compiled
with
[
_Elem=char,
_Traits=std::ignorecase_traits
]
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\iosfwd(607) : warning C4996: 'std::char_traits<char>::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\iosfwd(453) : see declaration of 'std::char_traits<char>::copy'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\iosfwd(589) : see reference to function template instantiation 'std::char_traits<char>::char_type *std::_Traits_helper::copy_s<_Traits>(std::char_traits<char>::char_type *,size_t,const std::char_traits<char>::char_type *,size_t,std::_Unsecure_char_traits_tag)' being compiled
with
[
_Traits=std::ignorecase_traits
]
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xstring(2155) : see reference to function template instantiation 'std::char_traits<char>::char_type *std::_Traits_helper::copy_s<_Traits>(std::char_traits<char>::char_type *,size_t,const std::char_traits<char>::char_type *,size_t)' being compiled
with
[
_Traits=std::ignorecase_traits
]


I try a lot of things but the problem seems to be on ms header of _Traits_helper, i don't undestand ?????

...

QuestionC++ vs. C# Pin
PankajB31-Jul-09 20:38
PankajB31-Jul-09 20:38 
AnswerRe: C++ vs. C# Pin
Rajesh R Subramanian31-Jul-09 20:40
professionalRajesh R Subramanian31-Jul-09 20:40 
GeneralRe: C++ vs. C# Pin
PankajB31-Jul-09 20:49
PankajB31-Jul-09 20:49 
QuestionRe: C++ vs. C# Pin
Rajesh R Subramanian31-Jul-09 20:53
professionalRajesh R Subramanian31-Jul-09 20:53 
AnswerRe: C++ vs. C# Pin
PankajB31-Jul-09 21:14
PankajB31-Jul-09 21:14 
GeneralRe: C++ vs. C# Pin
harold aptroot31-Jul-09 21:24
harold aptroot31-Jul-09 21:24 
GeneralRe: C++ vs. C# Pin
PankajB31-Jul-09 21:29
PankajB31-Jul-09 21:29 
GeneralRe: C++ vs. C# Pin
Rajesh R Subramanian31-Jul-09 21:38
professionalRajesh R Subramanian31-Jul-09 21:38 
GeneralRe: C++ vs. C# Pin
harold aptroot31-Jul-09 21:54
harold aptroot31-Jul-09 21:54 
AnswerRe: C++ vs. C# Pin
Joe Woodbury1-Aug-09 10:23
professionalJoe Woodbury1-Aug-09 10:23 
QuestionHow can made safer application that is not detect by antivirus? Pin
Le@rner31-Jul-09 19:24
Le@rner31-Jul-09 19:24 
AnswerRe: How can made safer application that is not detect by antivirus? Pin
Rajesh R Subramanian31-Jul-09 20:38
professionalRajesh R Subramanian31-Jul-09 20:38 
GeneralRe: How can made safer application that is not detect by antivirus? Pin
Le@rner31-Jul-09 21:02
Le@rner31-Jul-09 21:02 
AnswerRe: How can made safer application that is not detect by antivirus? Pin
Bacon Ultimate Cheeseburger1-Aug-09 1:23
Bacon Ultimate Cheeseburger1-Aug-09 1:23 
GeneralRe: How can made safer application that is not detect by antivirus? Pin
Le@rner1-Aug-09 1:26
Le@rner1-Aug-09 1:26 
GeneralRe: How can made safer application that is not detect by antivirus? Pin
Bacon Ultimate Cheeseburger1-Aug-09 1:35
Bacon Ultimate Cheeseburger1-Aug-09 1:35 
GeneralRe: How can made safer application that is not detect by antivirus? Pin
Le@rner1-Aug-09 1:54
Le@rner1-Aug-09 1:54 

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.