Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string input Pin
Luc Pattyn16-Jul-08 6:33
sitebuilderLuc Pattyn16-Jul-08 6:33 
GeneralRe: string input Pin
Luc Pattyn16-Jul-08 6:34
sitebuilderLuc Pattyn16-Jul-08 6:34 
GeneralRe: string input Pin
CPallini16-Jul-08 7:16
mveCPallini16-Jul-08 7:16 
GeneralRe: string input Pin
led mike16-Jul-08 10:17
led mike16-Jul-08 10:17 
AnswerRe: string input Pin
Stephen Hewitt16-Jul-08 19:09
Stephen Hewitt16-Jul-08 19:09 
GeneralRe: string input Pin
Sunday8PM16-Jul-08 22:55
Sunday8PM16-Jul-08 22:55 
GeneralRe: string input Pin
Stephen Hewitt17-Jul-08 13:26
Stephen Hewitt17-Jul-08 13:26 
Questionlogic for getting file name from a file path is not working on Japanese machine Pin
NiceNaidu16-Jul-08 3:37
NiceNaidu16-Jul-08 3:37 
Hi All,
I have an issue with the code,which i have written .
I have written the following logic to extract the file name from a full path(the code is in c.)

TCHAR *filename;
filename = _tcsrchr(FullPath,L'\\');


The above logic is working fine on English machines.But it is failing on Japanese machines ,when specific multi-byte chars are given as part of file name.

If the path is "C:\test\能.html", i am getting ".html" as file name,instead of "能.html"

Any help ??

Thanks

Appu..
"Never explain yourself to anyone.
Because the person who likes you does n't need it.
And the person who dislikes you won't believe it."

AnswerRe: logic for getting file name from a file path is not working on Japanese machine Pin
Chris Losinger16-Jul-08 3:55
professionalChris Losinger16-Jul-08 3:55 
GeneralRe: logic for getting file name from a file path is not working on Japanese machine Pin
NiceNaidu16-Jul-08 3:59
NiceNaidu16-Jul-08 3:59 
GeneralRe: logic for getting file name from a file path is not working on Japanese machine Pin
NiceNaidu16-Jul-08 5:12
NiceNaidu16-Jul-08 5:12 
QuestionRe: logic for getting file name from a file path is not working on Japanese machine Pin
Mark Salsbery16-Jul-08 6:38
Mark Salsbery16-Jul-08 6:38 
AnswerRe: logic for getting file name from a file path is not working on Japanese machine Pin
Mark Salsbery16-Jul-08 6:40
Mark Salsbery16-Jul-08 6:40 
AnswerRe: logic for getting file name from a file path is not working on Japanese machine Pin
Michael Schubert16-Jul-08 7:24
Michael Schubert16-Jul-08 7:24 
AnswerRe: logic for getting file name from a file path is not working on Japanese machine Pin
NiceNaidu4-Aug-08 4:39
NiceNaidu4-Aug-08 4:39 
QuestionResume Thread Pin
anilaabc16-Jul-08 2:52
anilaabc16-Jul-08 2:52 
AnswerRe: Resume Thread Pin
CPallini16-Jul-08 3:02
mveCPallini16-Jul-08 3:02 
AnswerRe: Resume Thread Pin
Hamid_RT16-Jul-08 5:57
Hamid_RT16-Jul-08 5:57 
GeneralRe: Resume Thread Pin
anilaabc16-Jul-08 16:01
anilaabc16-Jul-08 16:01 
GeneralRe: Resume Thread Pin
Hamid_RT16-Jul-08 20:16
Hamid_RT16-Jul-08 20:16 
QuestionPls help with Check Box and mdb Pin
GPat2416-Jul-08 2:47
GPat2416-Jul-08 2:47 
AnswerRe: Pls help with Check Box and mdb Pin
CPallini16-Jul-08 2:53
mveCPallini16-Jul-08 2:53 
QuestionDialog Create Problem Pin
Shivarudrayya H16-Jul-08 2:29
Shivarudrayya H16-Jul-08 2:29 
QuestionIStoreFolder::RegisterNotification Method failing from inside Outlook Express/ Windows Mail Plugin Pin
dolly16-Jul-08 2:12
dolly16-Jul-08 2:12 
QuestionPassing value from one exe to another exe Pin
VCProgrammer16-Jul-08 1:43
VCProgrammer16-Jul-08 1:43 

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.