Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNOMIRRORBITMAP Pin
Gleb9-Oct-02 21:30
Gleb9-Oct-02 21:30 
Generalvery silly problem Pin
Chanda.com9-Oct-02 21:22
Chanda.com9-Oct-02 21:22 
GeneralRe: very silly problem Pin
Nish Nishant9-Oct-02 22:03
sitebuilderNish Nishant9-Oct-02 22:03 
GeneralRe: very silly problem Pin
Jon Hulatt9-Oct-02 22:03
Jon Hulatt9-Oct-02 22:03 
GeneralSaving Application settings for next restarts Pin
Soni9-Oct-02 21:17
Soni9-Oct-02 21:17 
GeneralRe: Saving Application settings for next restarts Pin
Paul M Watt9-Oct-02 21:28
mentorPaul M Watt9-Oct-02 21:28 
QuestionWorks under UNICODE ??? Pin
Daniel Strigl9-Oct-02 20:51
Daniel Strigl9-Oct-02 20:51 
AnswerRe: Works under UNICODE ??? Pin
Paul M Watt9-Oct-02 21:22
mentorPaul M Watt9-Oct-02 21:22 
the ' ' will translate to a char that contains a space or 0x20, which is 32 in decimal. In order for this to work properly in Unicode, you will need to cast your ' ' to a TCHAR, which will give you this 0x0020. Here is an example:

<br />
if (c != (TCHAR)' ')<br />
{<br />
...<br />


This will basically expand the single BYTE char to a double BYTE wchar_t which is what the TCHAR is declared as when the UNICODE macro is set.

Good Luck



Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

AnswerRe: Works under UNICODE ??? Pin
Michael Dunn9-Oct-02 21:46
sitebuilderMichael Dunn9-Oct-02 21:46 
GeneralRe: Exporting symbols from Application to DLL Pin
Paul M Watt9-Oct-02 21:16
mentorPaul M Watt9-Oct-02 21:16 
GeneralRe: Exporting symbols from Application to DLL Pin
KarstenK10-Oct-02 1:19
mveKarstenK10-Oct-02 1:19 
GeneralDisplaying a PDF file in my App Pin
Jerome Conus9-Oct-02 20:08
Jerome Conus9-Oct-02 20:08 
GeneralRe: Displaying a PDF file in my App Pin
ASH9-Oct-02 21:13
ASH9-Oct-02 21:13 
GeneralRe: Displaying a PDF file in my App Pin
ASH9-Oct-02 21:23
ASH9-Oct-02 21:23 
GeneralRe: Displaying a PDF file in my App Pin
vgkotha10-Oct-02 1:21
vgkotha10-Oct-02 1:21 
QuestionHow to write a UNICODE string to a ASCII file? Pin
Daniel Strigl9-Oct-02 20:04
Daniel Strigl9-Oct-02 20:04 
AnswerRe: How to write a UNICODE string to a ASCII file? Pin
Michael Dunn9-Oct-02 20:31
sitebuilderMichael Dunn9-Oct-02 20:31 
GeneralRe: How to write a UNICODE string to a ASCII file? Pin
Daniel Strigl9-Oct-02 20:35
Daniel Strigl9-Oct-02 20:35 
GeneralRe: How to write a UNICODE string to a ASCII file? Pin
Michael Dunn9-Oct-02 20:49
sitebuilderMichael Dunn9-Oct-02 20:49 
GeneralRe: How to write a UNICODE string to a ASCII file? Pin
Daniel Strigl9-Oct-02 20:53
Daniel Strigl9-Oct-02 20:53 
GeneralRe: How to write a UNICODE string to a ASCII file? Pin
Daniel Strigl9-Oct-02 21:16
Daniel Strigl9-Oct-02 21:16 
GeneralRe: How to write a UNICODE string to a ASCII file? Pin
Daniel Strigl23-Oct-02 3:37
Daniel Strigl23-Oct-02 3:37 
GeneralURLEncoder Pin
John Bosko9-Oct-02 19:56
John Bosko9-Oct-02 19:56 
GeneralRe: URLEncoder Pin
Jon Hulatt9-Oct-02 22:15
Jon Hulatt9-Oct-02 22:15 
GeneralRe: URLEncoder Pin
John Bosko11-Oct-02 22:12
John Bosko11-Oct-02 22: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.