|
Then the other parts of my post apply - fire up your debugger, and check WHY the timer is not displayed. My bet would be a problem with a parameter to your createthread function, and I bet createthread returns INVALID_HANDLE_VALUE, and GetLastError will help.
In which case, read the docs for the function veeeeeery carefully.
If you aren't using createthread directly, then step into the code you do use until you get there.
Iain
|
|
|
|
|
Aabid wrote: This application works fine on all operating systems except Vista
I'm pretty sure it doesn't work on Linux.
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
[My articles]
|
|
|
|
|
Thanks
i didnt check it on Linux ...as i need to run this application on windows
|
|
|
|
|
I was just kidding.
Please follow Iain's suggestion: use the debugger and check return values.
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
[My articles]
|
|
|
|
|
Now is this problem of linux or of this program?
|
|
|
|
|
Hamid. wrote: Now is this problem of linux or of this program?
Incompatibility.
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
[My articles]
|
|
|
|
|
I am making an MFC Application to support Multiple languages but it is not supporting chinese jappanese and russian also. Might be some other languages.
Please tell what to do.
Thanks In Advance
Dhiraj
modified on Thursday, September 11, 2008 3:26 AM
|
|
|
|
|
|
yes but still not sucessfull.
Please tell me what to do
|
|
|
|
|
What not successful? What did you do and what did not happen? If you can't give the details, nobody can help you.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
I mean I have used WIN32;NDEBUG;_WINDOWS;_UNICODE preprocessor definitions.
Although i am able to copy type in the notpad the japanese languages characters.
|
|
|
|
|
So, you successfully installed the language packs and are able to type Japanese in notepad!
Now, if your app is STILL displaying question marks when you paste or type Unicode characters, then that means that you have NOT done a Unicode build. I'll guide you to create a small sample project that supports Unicode. Which version of VS are you using?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Did you try creating and setting font to edit box.
I mean create for example Chinese/Japanese font.
Set the font to respective edit box and try typing in or pasting Chinese/Japanese string in it??
I had done something similar for devnagari font.
Regards,
Sandip.
modified on Thursday, September 11, 2008 5:42 AM
|
|
|
|
|
can u just explain me a little bit more what you want to explain.
|
|
|
|
|
i mean create CFont object using Chinese or Japanese font.
Set this font to corresponding edit box and see if you can type or paste chinese/japanese string in that.
Regards,
Sandip.
modified on Thursday, September 11, 2008 5:42 AM
|
|
|
|
|
I have copied japanese text from an english to japanese translator and trying to paste it in the editbox but its how garbage values characters and not the japanese characters in the edit box.
|
|
|
|
|
Do you have japanese fonts installed on your system??
Regards,
Sandip.
modified on Thursday, September 11, 2008 6:45 AM
|
|
|
|
|
yes i have japanese installed on my system
|
|
|
|
|
Did you create the japanese font the changed the default font of the EditBox.
Regards,
Sandip.
|
|
|
|
|
No I havent changed the default font of the edit box
|
|
|
|
|
Try something like this
CFont *pFont = new CFont();
pFont->Create(..)
m_editcontrol.SetFont(pFont);
make sure that you have access to pFont always so you can delete it at the end.
Regards,
Sandip.
|
|
|
|
|
No way. This discussion is deviating way too much in a wrong direction. See here[^]
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
SandipG wrote: I had done something similar for devnagari font.
We are talking about Unicode.
So, if the application is Unicode aware, then I don't think that he will need to set a particular font to the control in order to use it. If the application cannot handle Unicode, setting the font alone can't change the fate of the app. I still bet that his app is Unicode unaware.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Yes since we are talking about UNICODE so there is no need to set the font.
Can you tell me then what exactly is the problem.
|
|
|
|
|
Dhiraj kumar Saini wrote: Yes since we are talking about UNICODE so there is no need to set the font.
Then why were you discussing on that with Sandip, if you knew that already?
Either ways, answer my questions:
1. Have you installed the Unicode languages that you want your app to support on your computer?
2. If yes, have you confirmed that you are able to type and paste those characters into notepad?
3. If yes, are you doing a Unicode build of your app? Yes/No/You don't know? If you don't know, which version of VS are you using?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|