Click here to Skip to main content
15,905,233 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Another 8001010e question! Pin
Stuart Dootson11-Jul-09 23:37
professionalStuart Dootson11-Jul-09 23:37 
GeneralRe: Another 8001010e question! Pin
Kannan Ramanathan11-Jul-09 23:43
Kannan Ramanathan11-Jul-09 23:43 
GeneralRe: Another 8001010e question! Pin
Stuart Dootson11-Jul-09 23:47
professionalStuart Dootson11-Jul-09 23:47 
GeneralRe: Another 8001010e question! Pin
Kannan Ramanathan12-Jul-09 1:57
Kannan Ramanathan12-Jul-09 1:57 
GeneralRe: Another 8001010e question! Pin
Stuart Dootson12-Jul-09 5:48
professionalStuart Dootson12-Jul-09 5:48 
GeneralRe: Another 8001010e question! Pin
Member 348023215-Jul-09 0:51
Member 348023215-Jul-09 0:51 
QuestionVC6 problem: locale loc(locale::classic(), new myfac) Pin
John R. Shaw9-Jul-09 20:51
John R. Shaw9-Jul-09 20:51 
AnswerRe: VC6 problem: locale loc(locale::classic(), new myfac) Pin
Stuart Dootson9-Jul-09 22:01
professionalStuart Dootson9-Jul-09 22:01 
I'm sure this is teaching grandma to suck eggs, but the only thing I'd suggest is to encapsulate that in another function, so you only need to do it once, i.e:

template<class Facet>
std::locale AddFacet(std::locale const& l, const Facet* f)
{
#ifdef _ADDFAC // Dinkumware macro
    return std::_ADDFAC(std::locale::classic(), new my_codecvt);
#else
    return std::locale(std::locale::classic(), new my_codecvt);
#endif
}


Alternatively, use this:

#ifndef _ADDFAC // Dinkumware macro
#define _ADDFAC (std::locale)
#endif


and use _ADDFAC for all platforms.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionHow to hide Standard Toolbar button in IE Pin
am 20098-Jul-09 22:40
am 20098-Jul-09 22:40 
Question32bit client talking to a 64bit local server Pin
Kannan Ramanathan4-Jul-09 3:58
Kannan Ramanathan4-Jul-09 3:58 
AnswerRe: 32bit client talking to a 64bit local server Pin
Kannan Ramanathan4-Jul-09 4:00
Kannan Ramanathan4-Jul-09 4:00 
AnswerRe: 32bit client talking to a 64bit local server Pin
Stuart Dootson4-Jul-09 4:50
professionalStuart Dootson4-Jul-09 4:50 
GeneralRe: 32bit client talking to a 64bit local server Pin
Kannan Ramanathan4-Jul-09 5:32
Kannan Ramanathan4-Jul-09 5:32 
GeneralRe: 32bit client talking to a 64bit local server Pin
Stuart Dootson4-Jul-09 5:35
professionalStuart Dootson4-Jul-09 5:35 
GeneralRe: 32bit client talking to a 64bit local server Pin
Kannan Ramanathan4-Jul-09 7:25
Kannan Ramanathan4-Jul-09 7:25 
GeneralRe: 32bit client talking to a 64bit local server Pin
Kannan Ramanathan5-Jul-09 3:13
Kannan Ramanathan5-Jul-09 3:13 
GeneralRe: 32bit client talking to a 64bit local server Pin
Kannan Ramanathan5-Jul-09 19:43
Kannan Ramanathan5-Jul-09 19:43 
GeneralRe: 32bit client talking to a 64bit local server Pin
Stuart Dootson5-Jul-09 21:55
professionalStuart Dootson5-Jul-09 21:55 
GeneralRe: 32bit client talking to a 64bit local server Pin
Kannan Ramanathan5-Jul-09 23:17
Kannan Ramanathan5-Jul-09 23:17 
QuestionUsing microsoft STL and STLport in same project Pin
Vishal Kumar Soni30-Jun-09 0:02
Vishal Kumar Soni30-Jun-09 0:02 
AnswerRe: Using microsoft STL and STLport in same project Pin
Stuart Dootson30-Jun-09 3:13
professionalStuart Dootson30-Jun-09 3:13 
GeneralRe: Using microsoft STL and STLport in same project Pin
Vishal Kumar Soni30-Jun-09 4:51
Vishal Kumar Soni30-Jun-09 4:51 
GeneralRe: Using microsoft STL and STLport in same project Pin
Stuart Dootson30-Jun-09 4:59
professionalStuart Dootson30-Jun-09 4:59 
GeneralRe: Using microsoft STL and STLport in same project Pin
led mike30-Jun-09 5:01
led mike30-Jun-09 5:01 
GeneralRe: Using microsoft STL and STLport in same project Pin
Vishal Kumar Soni30-Jun-09 6:28
Vishal Kumar Soni30-Jun-09 6:28 

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.