|
1. Have you enabled this language on your computer at first place?
2. If 1 is done, then is your application Unicode ENABLED?
3. If 2 is true, then what do you mean by your CRichEdit control garbage characters get printed?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
thx Anshuman
let me ans ur questions.
1.the problem comes only when i set urdu or any other arabic language in language bar.and which one comes first in language bar it sets on writting first character on the control.
2.yes my application is uicode enabled.
3. the richedit i hav used is CRichEditCtrl50W (msftedit.dll)and i also tried riched20.dll but it is also giving the same result.
3. the first char is correct and then the gargage valus come like ..for the word "sharma"
ث ە / ۹ ە
|
|
|
|
|
dear gurus,
i want to parse all h-files (may be also cpp-files) of my project to get out the dependency-graph.
Do you have some idea how to do it? Are there any working components available?
Thanks
|
|
|
|
|
I guess the source to do this must be available as part of doxygen, the Open Source C++ documentation generator available on Sourceforge and probably elsewhere. It obviously does a lot more than just a dependency-graph though so it might be more trouble to pull out what you need than to write it from scratch.
You could look into starting out with Flex and Bison ( Windows versions of Unix Lex and Yacc also available as C++ sources ) to generate a simple parser that only processes #include s.
On the other hand if you have VS2005 or better you could just turn on Show Includes in the Advanced options for your project and you'll get a build output window filled wiht the entire inclusion hierarchy. Makes you appreciate how fast even MS compilers really are when you see the hundreds of files that get included even in a relatively simple project.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|
|
Thanks for your points.
I already work with doxygen. It's really good. Unfortunately I have only a graphical output.
What I now need is a "graph-like" output-structure which I can parse by myself to automate physical-design issues
Kind regards
|
|
|
|
|
If you're already familiar with doxygen then I'd suggest perhaps building a modified version that outputs xml to a file of your choice in parallel to its normal output. That way you can keep the existing doxygen parsing. All you need to find is the points in the code where doxygen processes #include s, make sure you've got a reasonable version of msxml.dll in memory and the rest is a little bit of COM, some tables of tag strings and should hopefully be straight forward. Of course if you can architect it as some sort of plugin/addon module/patch for doxygen then you can contribute it back to the community and make the world a little better for all your hard work
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|
|
Unfortunately I'm only familiar with using the doxygen binary - not the source-code
|
|
|
|
|
I'm using vc6, windows xp2,
But I encounter "unresolved external symbol" problem when link with code below.
<br />
#include <shlwapi.h><br />
<br />
TCHAR szBuf[MAX_PATH] = {0};<br />
::GetModuleFileName(NULL, szBuf, sizeof(szBuf)/sizeof(szBuf[0]));<br />
::PathAddBackslash(szBuf);<br />
::PathAppend(szBuf, _T("no2.swf"));<br />
::PathFileExists(szBuf);<br />
</shlwapi.h>
I tested the code in vs2008 express edition too, It has the same problem.
Please help me.
|
|
|
|
|
As stated by documentation (for instance [^], you should link with shlwapi.lib library.
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]
|
|
|
|
|
hoho, thanks. It works fine now.
|
|
|
|
|
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]
|
|
|
|
|
Hi all,
Can any one suggest me a better and easier way to implement localization in MFC dialog based application?
|
|
|
|
|
Easier way compared to what? What way are you using right now?
|
|
|
|
|
I dont know any way to do it.
So i asked for some better way. Which i can understand for in the first trial itself.
|
|
|
|
|
How do you expect anyone to tell you "how" to do something which you don't know anything about? You will need to read books/articles on the topic mentioned. Searching Google would be a good start, if you haven't done that yet.
|
|
|
|
|
please search Code project ofr localization article.. you will get loads of it.. choose whatever is suitable and feasible for you!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Hi all,
it is link for this article.
http://www.codeproject.com/KB/printing/printlib.aspx[^]
I m using this class library for printing,in this library the printing is done with single page,there is no option for print multiple pages.
I m using access database for data.
I have data for print greater than one page ,please tell me what can i do.
I m also ask this question to the author of the article but he does not give any response to me.
Please help me for this it is urgent for me.
I m very thankful to you.
I m waiting for your valuable suggestions.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
"_$h@nky_" wrote: Please help me for this it is urgent for me.
You really don't need to write the above. We know, of course, that your questions are really-always-urgent.
BTW you've already done the good thing, posting the question to the article FAQ. Try also to study well the article and figure yourself how to add required functionalities.
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 can't tell you how to do it, having tried half seriously myself on occassions and failed but I can tell you that DefineDosDevice is not the way to go and throttling somebody at Microsoft until they publish the interface for the Logical Disk Manager would probably be more productive. At your own risk of course.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|
|
mayank_3103 wrote: My main purpose is to find the drive letter of a newly created partition...
What do you know about this "newly created partition?" Have you looked at QueryDosDevice() ?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
what my problem is suppose I have 2 hard disk connected in my PC
They both having 4 partitions each.
by using the function "GetLogicalDrives" I can get the drive letters of all the partitions. Say suppose C:,D:,E:,F:,G:,H:,I:,J:.
Now the problem is how I am going to identify which drive letters belongs to which Hard drive?
If I just want to have the drive letters of the "PhysicalDrive0" how I am going to differentiate. Is there any function through which I can get the Disk number from drive letters???
Hope you must have understood my problem!!!
Thanks
Mayank
|
|
|
|
|
if last boot was not terminated properly,
some menu will be displayed, on next boot.
(equal to press F8 on start up)
i want to make a restore solution,
so, i must figure it out about last boot failure.
that's all.
thank you.
|
|
|
|
|
i have set property of IDD_DIALOG1 as child
but still it does not getparent and show message "NO Parent"
i writ this code against buttonclicked event of main dialog
class tab *t=new tab;
tab->Create(IDD_DIALOG1);
if(tab->GetParent==NULL)
MessageBox("No Parent");
|
|
|
|
|