Click here to Skip to main content
15,918,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Major Multithread Problem :: MFC Pin
valikac30-Apr-02 11:44
valikac30-Apr-02 11:44 
GeneralRe: Major Multithread Problem :: MFC Pin
Neville Franks30-Apr-02 11:54
Neville Franks30-Apr-02 11:54 
GeneralRe: Major Multithread Problem :: MFC Pin
valikac30-Apr-02 12:00
valikac30-Apr-02 12:00 
GeneralRe: Major Multithread Problem :: MFC Pin
Neville Franks30-Apr-02 12:30
Neville Franks30-Apr-02 12:30 
GeneralRe: Major Multithread Problem :: MFC Pin
valikac30-Apr-02 12:35
valikac30-Apr-02 12:35 
GeneralRe: Possible Problem Pin
valikac30-Apr-02 12:59
valikac30-Apr-02 12:59 
GeneralRe: Possible Problem Pin
Neville Franks30-Apr-02 16:04
Neville Franks30-Apr-02 16:04 
QuestionLocale : do I get the wrong standard library????? Pin
Maxwell Chen29-Apr-02 17:23
Maxwell Chen29-Apr-02 17:23 
I copied the code at "Re: using locale, numpunct, num_put to format number with ',' thsnds separator" to try. I also downloaded the Appedix-D Locale from Bjarne Stroustrup's site, and copied example at Section 4.2.1 Numeric Punctuation to try. None of both could compile!

Suspicious | :suss: The error message while compiling example found at Usenet:

error C2039: 'numpunct<char>' : is not a member of 'locale'
d:\program files\microsoft visual studio\vc98\include\xlocale(20) : see declaration of 'locale'

error C2664: '__thiscall std::locale::std::locale(const char *,int)' : cannot convert parameter 1 from 'class std::locale' to 'const char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

Suspicious | :suss: And this is the error message while compiling Bjarne's example:

error C2664: '__thiscall std::locale::std::locale(const char *,int)' : cannot convert parameter 1 from 'class std::locale' to 'const char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called



Maxwell Chen
AnswerRe: Locale : do I get the wrong standard library????? Pin
Christian Graus29-Apr-02 17:40
protectorChristian Graus29-Apr-02 17:40 
GeneralRe: Locale : do I get the wrong standard library????? Pin
Maxwell Chen29-Apr-02 19:01
Maxwell Chen29-Apr-02 19:01 
GeneralRe: Locale : do I get the wrong standard library????? Pin
Christian Graus29-Apr-02 20:15
protectorChristian Graus29-Apr-02 20:15 
AnswerRe: Locale : do I get the wrong standard library????? Pin
Joaquín M López Muñoz29-Apr-02 21:01
Joaquín M López Muñoz29-Apr-02 21:01 
GeneralRe: Locale : do I get the wrong standard library????? Pin
Maxwell Chen29-Apr-02 22:57
Maxwell Chen29-Apr-02 22:57 
GeneralRe: Locale : do I get the wrong standard library????? Pin
Joaquín M López Muñoz29-Apr-02 23:09
Joaquín M López Muñoz29-Apr-02 23:09 
AnswerRe: Locale : do I get the wrong standard library????? Pin
Michael Dunn30-Apr-02 10:49
sitebuilderMichael Dunn30-Apr-02 10:49 
GeneralA question on Socket. Pin
GooGoo29-Apr-02 17:20
GooGoo29-Apr-02 17:20 
GeneralRe: A question on Socket. Pin
Nish Nishant29-Apr-02 17:38
sitebuilderNish Nishant29-Apr-02 17:38 
GeneralRe: A question on Socket. Pin
GooGoo29-Apr-02 17:40
GooGoo29-Apr-02 17:40 
QuestionIn one thread,how to kill another thread? Pin
GooGoo29-Apr-02 15:06
GooGoo29-Apr-02 15:06 
AnswerRe: In one thread,how to kill another thread? Pin
GooGoo29-Apr-02 15:18
GooGoo29-Apr-02 15:18 
GeneralRe: In one thread,how to kill another thread? Pin
GooGoo29-Apr-02 15:27
GooGoo29-Apr-02 15:27 
GeneralRe: In one thread,how to kill another thread? Pin
Nish Nishant29-Apr-02 15:30
sitebuilderNish Nishant29-Apr-02 15:30 
GeneralRe: In one thread,how to kill another thread? Pin
GooGoo29-Apr-02 15:40
GooGoo29-Apr-02 15:40 
GeneralRe: In one thread,how to kill another thread? Pin
Nish Nishant29-Apr-02 15:46
sitebuilderNish Nishant29-Apr-02 15:46 
GeneralRe: In one thread,how to kill another thread? Pin
GooGoo29-Apr-02 16:12
GooGoo29-Apr-02 16:12 

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.