Click here to Skip to main content
15,896,606 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerWhy did you create a server B? Pin
Igor Vigdorchik12-Feb-07 14:43
Igor Vigdorchik12-Feb-07 14:43 
GeneralRe: Why did you create a server B? Pin
Michael Bergman27-Feb-07 12:35
Michael Bergman27-Feb-07 12:35 
QuestionCompile errors in ATL/WTL application Pin
damir_tk11-Feb-07 12:07
damir_tk11-Feb-07 12:07 
AnswerRe: Compile errors in ATL/WTL application Pin
prasad_som11-Feb-07 21:48
prasad_som11-Feb-07 21:48 
GeneralRe: Compile errors in ATL/WTL application Pin
damir_tk12-Feb-07 10:35
damir_tk12-Feb-07 10:35 
AnswerRe: Compile errors in ATL/WTL application Pin
Alain Rist14-Feb-07 20:55
Alain Rist14-Feb-07 20:55 
Questionstd::map key std::basic_string<TCHAR> - How to achieve case in-sensitive string lookup ? [modified] Pin
anand_study9-Feb-07 0:37
anand_study9-Feb-07 0:37 
AnswerRe: std::map basic_string TCHAR - How to achieve case in-sensitive string lookup ? Pin
Sceptic Mole9-Feb-07 0:56
Sceptic Mole9-Feb-07 0:56 
Anand_Arv wrote:
I need to use std::map with std::basic_string(TCHAR) as key and long as value.
std::basic_string<tchar>
How to achieve/implement case in-sensitive string lookup ?


You need to add a Compare argument:

map <basic_string<TCHAR>, long, ltstr> mymap;


Where lstr could be defined as:

struct ltstr
{
  bool operator()(const basic_string<TCHAR>& s1, const basic_string<TCHAR>& s2) const
  {
    return stricmp (s1.c_str(), s2.c_str()) < 0;
  }
};


See also: http://www.sgi.com/tech/stl/Map.html[^]
GeneralRe: std::map basic_string TCHAR - How to achieve case in-sensitive string lookup ? Pin
anand_study9-Feb-07 16:24
anand_study9-Feb-07 16:24 
GeneralRe: std::map basic_string TCHAR - How to achieve case in-sensitive string lookup ? Pin
Stuart Dootson9-Feb-07 22:47
professionalStuart Dootson9-Feb-07 22:47 
GeneralRe: std::map basic_string TCHAR - How to achieve case in-sensitive string lookup ? Pin
Sceptic Mole10-Feb-07 1:58
Sceptic Mole10-Feb-07 1:58 
Questionread and write text from edit box Pin
Siddam6-Feb-07 5:38
Siddam6-Feb-07 5:38 
Questionread and write text from edit box Pin
Siddam6-Feb-07 5:38
Siddam6-Feb-07 5:38 
AnswerRe: read and write text from edit box Pin
ThatsAlok6-Feb-07 19:49
ThatsAlok6-Feb-07 19:49 
AnswerRe: read and write text from edit box Pin
Hamid_RT14-Feb-07 18:24
Hamid_RT14-Feb-07 18:24 
QuestionWTL Radio DDX function Pin
Konrad P5-Feb-07 20:03
Konrad P5-Feb-07 20:03 
AnswerRe: WTL Radio DDX function Pin
Michael Dunn5-Feb-07 20:42
sitebuilderMichael Dunn5-Feb-07 20:42 
QuestionShould I build my objects as ATL project? Pin
moonreflection20003-Feb-07 9:57
moonreflection20003-Feb-07 9:57 
AnswerRe: Should I build my objects as ATL project? Pin
Dmitry Khudorozhkov9-Feb-07 8:29
Dmitry Khudorozhkov9-Feb-07 8:29 
QuestionAggregation component ? Pin
cjpvscjp2-Feb-07 21:08
cjpvscjp2-Feb-07 21:08 
QuestionExport the needed Interface Pin
aloktambi1-Feb-07 19:25
aloktambi1-Feb-07 19:25 
QuestionATL IDispEventSimpleImpl reverse order bug still present in VC++ 2005 ???? Pin
Emmanuel TB1-Feb-07 3:44
Emmanuel TB1-Feb-07 3:44 
Questioni wana show the plugin only in Outlook and wana hide in Word and Excel Pin
salman kazi1-Feb-07 0:51
salman kazi1-Feb-07 0:51 
AnswerRe: i wana show the plugin only in Outlook and wana hide in Word and Excel Pin
kltslijun1-Feb-07 21:02
kltslijun1-Feb-07 21:02 
GeneralRe: i wana show the plugin only in Outlook and wana hide in Word and Excel Pin
salman kazi8-Feb-07 18:41
salman kazi8-Feb-07 18:41 

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.