Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: how to solve this problem(posted again) Pin
Maximilien6-Sep-06 4:18
Maximilien6-Sep-06 4:18 
GeneralRe: how to solve this problem(posted again) Pin
David Crow6-Sep-06 7:50
David Crow6-Sep-06 7:50 
AnswerRe: how to solve this problem(posted again) Pin
sinbear6-Sep-06 5:11
sinbear6-Sep-06 5:11 
QuestionRe: how to solve this problem(posted again) Pin
David Crow6-Sep-06 6:19
David Crow6-Sep-06 6:19 
QuestionUnicode identification at run time - Help Pin
dharani5-Sep-06 23:26
dharani5-Sep-06 23:26 
AnswerRe: Unicode identification at run time - Help Pin
Waldermort6-Sep-06 0:36
Waldermort6-Sep-06 0:36 
AnswerRe: Unicode identification at run time - Help Pin
Mike Dimmick6-Sep-06 0:52
Mike Dimmick6-Sep-06 0:52 
GeneralRe: Unicode identification at run time - Help Pin
dharani6-Sep-06 21:07
dharani6-Sep-06 21:07 
Hi
I have the following problem .
I have a CString csBuffer ;

At tun time , this csBuffer gets unicode and ansi values alternatively . The value is only numbers.
For example

At one time csBuffer holds "1234" and another time it holds "1.2.3.4" .
So when the value is 1.2.3.4 , WideCharToMultiByte works fine and we get a ansi string "1234".
But when the value is 1234 , WideCharToMultiByte should not be called .
So after your suggestion I did the following

int nFlags=IS_TEXT_UNICODE_SIGNATURE;
if (::IsTextUnicode(csBuffer,csBuffer.GetLength(),&nFlags))
{
..message box "Its a unicode string"
}

But in both the cases IsTextUnicode did not succeed .
What can I do now ?
In fact I am a newbie when it comes to uncode stuffs ...
Please help me ...
Dharani

redindian

AnswerRe: Unicode identification at run time - Help Pin
Michael Dunn6-Sep-06 15:18
sitebuilderMichael Dunn6-Sep-06 15:18 
GeneralRe: Unicode identification at run time - Help Pin
dharani6-Sep-06 21:10
dharani6-Sep-06 21:10 
Questionupgrade to VS2005 Pin
si_695-Sep-06 22:55
si_695-Sep-06 22:55 
QuestionDrive Names - Please reply Pin
velayudhan_raj5-Sep-06 22:32
velayudhan_raj5-Sep-06 22:32 
AnswerRe: Drive Names - Please reply Pin
Nibu babu thomas5-Sep-06 22:55
Nibu babu thomas5-Sep-06 22:55 
GeneralRe: Drive Names - Please reply Pin
velayudhan_raj5-Sep-06 23:14
velayudhan_raj5-Sep-06 23:14 
GeneralRe: Drive Names - Please reply Pin
Nibu babu thomas5-Sep-06 23:29
Nibu babu thomas5-Sep-06 23:29 
GeneralRe: Drive Names - Please reply Pin
CraZyToLearn6-Sep-06 0:13
CraZyToLearn6-Sep-06 0:13 
GeneralRe: Drive Names - Please reply [modified] Pin
Hamid_RT6-Sep-06 0:28
Hamid_RT6-Sep-06 0:28 
QuestionRe: Drive Names - Please reply Pin
David Crow6-Sep-06 4:11
David Crow6-Sep-06 4:11 
AnswerRe: Drive Names - Please reply Pin
Hamid_RT6-Sep-06 4:27
Hamid_RT6-Sep-06 4:27 
GeneralRe: Drive Names - Please reply Pin
David Crow6-Sep-06 6:23
David Crow6-Sep-06 6:23 
GeneralRe: Drive Names - Please reply Pin
David Crow6-Sep-06 4:26
David Crow6-Sep-06 4:26 
QuestionCFile Data Removal Pin
payal3355-Sep-06 22:27
payal3355-Sep-06 22:27 
AnswerRe: CFile Data Removal Pin
ThatsAlok5-Sep-06 22:35
ThatsAlok5-Sep-06 22:35 
AnswerRe: CFile Data Removal Pin
Nibu babu thomas5-Sep-06 22:58
Nibu babu thomas5-Sep-06 22:58 
AnswerRe: CFile Data Removal Pin
Viorel.5-Sep-06 23:07
Viorel.5-Sep-06 23:07 

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.