Click here to Skip to main content
15,904,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mmx help, Privileged instruction exception. Pin
Member 34198917-Jul-05 22:52
Member 34198917-Jul-05 22:52 
QuestionIs it possible to replace tab buttons in the tab control by a bitmap? Pin
Asha Udupa7-Jul-05 20:48
Asha Udupa7-Jul-05 20:48 
AnswerRe: Is it possible to replace tab buttons in the tab control by a bitmap? Pin
ThatsAlok7-Jul-05 21:38
ThatsAlok7-Jul-05 21:38 
QuestionProblem about Drag in TreeCtrl? Pin
sharkmouse7-Jul-05 19:44
sharkmouse7-Jul-05 19:44 
AnswerRe: Problem about Drag in TreeCtrl? Pin
Nilesh K.7-Jul-05 20:15
Nilesh K.7-Jul-05 20:15 
GeneralUNICODE Pin
John R. Shaw7-Jul-05 17:17
John R. Shaw7-Jul-05 17:17 
GeneralRe: UNICODE Pin
Jose Lamas Rios7-Jul-05 18:09
Jose Lamas Rios7-Jul-05 18:09 
GeneralRe: UNICODE Pin
John R. Shaw8-Jul-05 8:47
John R. Shaw8-Jul-05 8:47 
D'Oh! | :doh: Doh!
Now why didn't I think of that? Apparently I was being a tad bit to strict on my requirements.

:-DThanks Jose.

MODIFIED:
D'Oh! | :doh: Whoops!
I spoke to soon! That is not the problem. The problem is, how does the template know what format to use for strings that it generates internaly, with out using compiler specific defines?

Example:
template<class T>
void mytemp<T>::show_info(char_type c1, char_type c2)
{
stringstream<char_type> os;
os << "some text: '" << c2 << "' following '" << c1 << "'";
show_string(os.str());
}

The above would work fine for ANSI, but poduces garbage if the char_type is wchar_t. Since the hard coded strings are ANSI and not UNICODE.
INTP
GeneralRe: UNICODE Pin
Jose Lamas Rios8-Jul-05 10:10
Jose Lamas Rios8-Jul-05 10:10 
GeneralRe: UNICODE Pin
John R. Shaw8-Jul-05 10:55
John R. Shaw8-Jul-05 10:55 
GeneralRe: UNICODE Pin
toxcct7-Jul-05 20:21
toxcct7-Jul-05 20:21 
GeneralRe: UNICODE Pin
John R. Shaw8-Jul-05 7:09
John R. Shaw8-Jul-05 7:09 
GeneralRe: UNICODE Pin
Bob Stanneveld7-Jul-05 22:03
Bob Stanneveld7-Jul-05 22:03 
GeneralRe: UNICODE Pin
John R. Shaw8-Jul-05 8:39
John R. Shaw8-Jul-05 8:39 
GeneralRe: UNICODE Pin
Bob Stanneveld9-Jul-05 5:48
Bob Stanneveld9-Jul-05 5:48 
Generalrget r, g or b value for opengl Pin
cell517-Jul-05 16:27
cell517-Jul-05 16:27 
GeneralRe: rget r, g or b value for opengl Pin
Jose Lamas Rios7-Jul-05 16:44
Jose Lamas Rios7-Jul-05 16:44 
Generalneed help on generate report to excel Pin
firebolt777-Jul-05 16:05
firebolt777-Jul-05 16:05 
GeneralRe: need help on generate report to excel Pin
Jose Lamas Rios7-Jul-05 17:09
Jose Lamas Rios7-Jul-05 17:09 
GeneralRe: need help on generate report to excel Pin
firebolt777-Jul-05 20:03
firebolt777-Jul-05 20:03 
GeneralRe: need help on generate report to excel Pin
Jose Lamas Rios7-Jul-05 20:12
Jose Lamas Rios7-Jul-05 20:12 
GeneralRe: need help on generate report to excel Pin
firebolt777-Jul-05 20:25
firebolt777-Jul-05 20:25 
GeneralRe: need help on generate report to excel Pin
firebolt778-Jul-05 3:36
firebolt778-Jul-05 3:36 
GeneralRe: need help on generate report to excel Pin
urxlnc0077-Jul-05 19:23
urxlnc0077-Jul-05 19:23 
GeneralRe: need help on generate report to excel Pin
firebolt777-Jul-05 21:36
firebolt777-Jul-05 21:36 

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.