|
Given this program:
#include <Windows.h>
#pragma comment(lib, "user32")
int main(int argc, char** argv)
{
MessageBox(NULL,"Name (FULL NAME)","good",MB_RTLREADING );
}
I got exactly what you might expect - a message box with text reading left to right exactly as shown above (that's because I'm using the Latin Unicode subrange, not one of the right-to-left ones) but with all the adornments (icon, window caption buttons) mirrored compared to what I would usually see.
I don't get any strange bracketness like you've reported.
|
|
|
|
|
-> Latin Unicode subrange, not one of the right-to-left ones)
I do't feel that i could follow you well.
I am using english XP.
I also tried your code in two environments:
1. My Region and Languages set to Arabic
2. My Region and languages set to English(US)
In both the cases I am getting the same string as i mentioned in my first mail. "(Name(First Name".
I am not getting what's wrong is going on!
|
|
|
|
|
Do the parenthesis have some special meaning when used in Hebrew or Arabic systems? Have you tried other strings?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I have inherited this MFC project that has been set to "Not Set" as far as its character set. I have run into couple of problems recently with incompatibility issues with new common controls because comctl32 is unicode compatible. My question, is should I force my project to be unicode or leave it as "Not Set"... Does any one have a good experience as far as the projections of Microsoft and what do you gain or lose out either way?
Thanks
sft
|
|
|
|
|
If you're only using English text and strings, you may as well leave it as "Not Set".
What are the problems that you came across?
Windows internally uses Unicode.
So there would be a slight overhead of converting the ASCII string to their Unicode counterparts.
«_Superman_»
|
|
|
|
|
I wonder is there any recognized C++ certification program?
I know about former VC++ certificates, but is there anything similar for plain C++?
|
|
|
|
|
Which are good VC++ certificates?
|
|
|
|
|
Oshtri Deka wrote: ...but is there anything similar for plain C++?
How about Brainbench?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I've heard several divided or confronted opinions about them, what can you say?
|
|
|
|
|
I've taken a handful of their exams. It's ultimately up to the company as to whether or not they recognize the exams/certifications. Mine does not, but I was taking them for my own benefit regardless.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi All,
I had ported my application frommVC++ 6.0 to VC++ 9.0.
If i am copying my application exe to other machines, is it enough that the destination machines have .Net Framework 3.5.?
or
Is it manditory the it need VC++ redistributable?
If required what dose VC++ Redist provide which .Net 3.5 framework dosent provide?
Thanks All.
|
|
|
|
|
pratap1980 wrote: what dose VC++ Redist provide
The C and C++ runtime library DLLs from Visual C++ 9 and the MFC DLLs from Visual C++ 9.
If the .Net Framework 3.5 uses the runtime DLLs from VC++9, then it'll need to install them. I wouldn't bet on it using the C/C++ run-time, though, and certainly not MFC.
I would take the simple path, i.e. require the VC++9 redistributables, whether installed to the machine or as a local (to the executable) side-by-side install.
|
|
|
|
|
Thanks.
Do you say if i have VC++ 9.0 redistributabl, i dosent need the .net 3.5 framework?
Rhanks.
|
|
|
|
|
Are you using .Net 3,5 in your application? If you are, then you need the framework. Otherwise you don't.
|
|
|
|
|
My application is developed using VS 6.0(VC++). Now i migrated it to VC++ 2008
I just compiled my VC++ 6.0 with VS2008. So i think i did not use any .net libraries.
Its all the native code. So do i need .Net 3.5 frame work on the destinaton machine?
Thanks,
|
|
|
|
|
pratap1980 wrote: Net 3.5
No, all you would need is the MFC libraries.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
|
|
|
|
|
pratap1980 wrote: Its all the native code. So do i need .Net 3.5 frame work on the destinaton machine?
no
|
|
|
|
|
Good afternoon.
I would like to create a Multi Column (2)ComboBox populated by existing (SQL) dataset.
The dataset returns the record ID and the item name (e.g. 1, "Apple"). The comboBox would display the item name, and the record ID would be hidden, but still "tied" to the item name.
Also I would like to reference the 1st colums to be used in another SQL statement.
I noticed a couple of examples (some with DataGrids), but they don't seem to suit our needs.
Thank you,
WHEELS
|
|
|
|
|
For the combo box, can't use you the itemdata to store the record ID? (CComboBox::SetItemData[^])
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
I checked out the code at microsoft.com.
I am very new to C#. Could you explain the code in a little detail as I am not entirely sure what it does.
Thank you,
WHEELS
|
|
|
|
|
Ah, you are using C#, you are at the wrong forum here, try the C# forum[^].
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
cpuh header is not supported by my compiler .. What should i do to make it support.?
Regards
$iva
|
|
|
|
|
What is 'cpuh' header?
As it stands, neither my compiler supports it, I suppose.
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]
|
|
|
|
|
Maybe it stands for "ComPiler Unsupported Header"?
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Sure!
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]
|
|
|
|