|
sumit.durg wrote: Can any body tell me how to convert UPPER case string to lower case string in Unicode.
CString has the MakeUpper() and MakeLower() functions, but you need to understand that upper case and lower case exists only in English (and may be in those languages that uses English script). It is not a very good idea to make this call on a language like Hindi. I believe you understand it.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
For other languages, could be it done just adding or decreasing the "letter value" by 34 (or whatever value that gives "A" - "a")?
Missunderstood of previous answer
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
and what about the language which havent uppercase and lowercase?
|
|
|
|
|
I am talking about those languages which has no UPPER or lower cases. It just would not mean anything do a conversion in that case. I also mentioned "Hindi", in my previous post, as an example.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Sorry, I missunderstood you
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
No worries.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Exactly, Some language do not have upper and lower case.They have only one type as you said in hindi.
I agree. But i need to convert Russian language. They have upper and lower case and MakeLower / _tcslwr in not working on russian. Do you have any other solution.
|
|
|
|
|
Yes, I tested with CString::MakeLower() and it isn't working! Fortunately for you, it shouldn't be a daunting task to write your own mapping routine, because there are not too many characters in Russian language. Imagine writing a conversion routine for something like Chinese, if it had UPPER/lower cases!
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
Hi..
Use _tcsicmp
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
why bothering cast back to TCHAR*, uppercase, then cast back to CString, when the CString class already provides a method to do it ?
moreover, _tcsicmp() doesn't perform a "toUpper" or a "toLower". it just compare 2 strings without taking care of the case.
|
|
|
|
|
manju#123 wrote: Use _tcsicmp
_tcsicmp does a lexicographic comparison between strings. It cannot convert between upper and lower cases. In short, it does some kind of comparison and the OP's requirement is to do some kind of conversion.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi All,
Is there any API which I could use to save & load the some entries in the registry in the kernel mode. I require kernel mode as I want to do this at the boot time before the Explorer shell gets launched.
Thank you,
AJ
|
|
|
|
|
Hi,
Does any one have a good idea of exporting MAKE file through Visual Studio 2003??
I use to export MAKE files through Visual Studio 6.0 but now we dont have that option available in 2003.
Please tell me if any other way of exporting the file in VS 2003.
Thanks,
Anand.
|
|
|
|
|
Do you really need it? why?
|
|
|
|
|
Yes, I am in need to create MAKE files for around 50 projects which are in VS 2003, and manually creating the files will take time.
Thanks,
Anand.
|
|
|
|
|
that feature is not available in from VS 2003 onwards, may be some tools like [Automatic make file generator^] useful, but my question is what is its need? why you need makefile for existing project.
|
|
|
|
|
Want to build projects through Clearmake, and for that, we need MAKE files.
Thanks,
Anand.
|
|
|
|
|
Makefile needs some tool to build, like nmake, Clearmake... Makefile (text file) alone cannot work, I am not asking that. why you need to build in makefile way, if you are looking for commandline type of building, VS supports it.
|
|
|
|
|
Hi all,
Is there a way I can send a silent email using ShellExecute ?
Many thanks
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
My e-mails usually don't make noise .
BTW: what are you doing?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
|
|
Well, I was just kidding.
Unfortunately I don't know the answer to your problem.
Just as guess: Does Outlook provide automation interface, doesn't it?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPallini wrote: My e-mails usually don't make noise [Poke tongue]
Oh really?! My machine plays flute music every time an email is sent.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|