Click here to Skip to main content
16,010,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CBitmap query Pin
Roger Allen7-Jun-02 1:26
Roger Allen7-Jun-02 1:26 
Generaldxdiag Pin
benjymous6-Jun-02 23:54
benjymous6-Jun-02 23:54 
QuestionHow do i link a *.exe library? Pin
JAAC16-Jun-02 23:36
JAAC16-Jun-02 23:36 
AnswerRe: How do i link a *.exe library? Pin
Nish Nishant7-Jun-02 0:35
sitebuilderNish Nishant7-Jun-02 0:35 
GeneralProblem on using unicode Pin
Abin6-Jun-02 22:51
Abin6-Jun-02 22:51 
GeneralRe: Problem on using unicode Pin
Nish Nishant7-Jun-02 0:37
sitebuilderNish Nishant7-Jun-02 0:37 
GeneralRe: Problem on using unicode Pin
7-Jun-02 1:35
suss7-Jun-02 1:35 
GeneralOK I gottcha, now another problem... Pin
Abin7-Jun-02 6:22
Abin7-Jun-02 6:22 
Ok I modified the program entry point and now it linked. But I got another problem, that if I use some foreign characters in a CString and I want to output certain characters of that CString, it won't work. My code looks like this:

// TODO: Add your control notification handler code here
CString str = _T("ÎÒÃÇ"); // some Chinese characters
CFile fo;
fo.Open(_T("test.txt"), CFile::modeCreate | CFile::modeWrite);
	
TCHAR ch = str[0];
fo.Write(&ch, sizeof(TCHAR));

fo.Close();


And the character cannot be output correctly. What am I doing wrong? Thank you.
GeneralA DLL Qn Pin
Kannan Kalyanaraman6-Jun-02 22:08
Kannan Kalyanaraman6-Jun-02 22:08 
GeneralRe: A DLL Qn Pin
Mike Nordell7-Jun-02 1:50
Mike Nordell7-Jun-02 1:50 
GeneralRe: A DLL Qn Pin
Kannan Kalyanaraman7-Jun-02 2:13
Kannan Kalyanaraman7-Jun-02 2:13 
GeneralSimpel thread question(I hope:) Pin
6-Jun-02 22:09
suss6-Jun-02 22:09 
GeneralRe: Simpel thread question(I hope:) Pin
KarstenK6-Jun-02 22:27
mveKarstenK6-Jun-02 22:27 
GeneralRe: Simpel thread question(I hope:) Pin
Nish Nishant6-Jun-02 22:29
sitebuilderNish Nishant6-Jun-02 22:29 
GeneralRe: Simpel thread question(I hope:) Pin
6-Jun-02 22:35
suss6-Jun-02 22:35 
GeneralRe: Simpel thread question(I hope:) Pin
Frank Christensen6-Jun-02 23:30
Frank Christensen6-Jun-02 23:30 
GeneralRe: Simpel thread question(I hope:) Pin
Alexandru Savescu6-Jun-02 23:17
Alexandru Savescu6-Jun-02 23:17 
GeneralAny Idea on this Pin
Sidney6-Jun-02 20:39
Sidney6-Jun-02 20:39 
GeneralRe: Any Idea on this Pin
Christian Graus6-Jun-02 20:51
protectorChristian Graus6-Jun-02 20:51 
GeneralRe: Any Idea on this Pin
Giles6-Jun-02 21:31
Giles6-Jun-02 21:31 
GeneralRe: Any Idea on this Pin
Philippe Mori7-Jun-02 3:39
Philippe Mori7-Jun-02 3:39 
Question[Hard] How ot Change All Windows' Title ? Pin
windcbf6-Jun-02 20:14
windcbf6-Jun-02 20:14 
AnswerRe: [Hard] How ot Change All Windows' Title ? Pin
Christian Graus6-Jun-02 20:52
protectorChristian Graus6-Jun-02 20:52 
GeneralRe: [Hard] How ot Change All Windows' Title ? Pin
benjymous6-Jun-02 23:56
benjymous6-Jun-02 23:56 
GeneralRe: [Hard] How ot Change All Windows' Title ? Pin
Christian Graus7-Jun-02 0:25
protectorChristian Graus7-Jun-02 0:25 

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.