|
Aniket Salunkhe wrote: So is there any method to retrieve codepage?
You can get code page information using APIs like GetACP , GetCPInfo etc.
«_Superman_»
|
|
|
|
|
Hi,
Thanks for suggestion.
But if I am having two strings s1 & s2, each having value in 2 distinct languages, how can I use above functions to convert them (there characters) into byte format?
Thanks & Regards,
Aniket A. Salunkhe
|
|
|
|
|
Can someone help me with Visual C++ code for plugins for Internet Explorer/Mozilla Firefox for simple MP3 player that buffers and plays an audio file and uses a seperate decoder that has been developed.Decoder is available.Need to develop plugin that uses this decoder.A simple MP3 audio player that is a plugin for IE or any other browser will do.
Thanks,
Priya
|
|
|
|
|
|
I have displayed a messagebox with MB_RTLREADING flag.
The string that i tried to display is some thing like: "Name(First Name)"
However I am getting the display of "(Name ( First Name"
The syntex used for the messagebox was as follows:
MessageBox(NULL,"Name (FULL NAME)","good",MB_RTLREADING );
Please suggest what setting i am missing?
|
|
|
|
|
MessageBox("(Name( FULL NAME","good",MB_RTLREADING );
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
I tried using the same.
It produces the correct output.
But I think it is not good to Change the Strings. As in case of multiple closing brackets it will very cumbersome to edit the strings.
It should be any property/flag of the MessageBox that i am missing.
|
|
|
|
|
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
|
|
|
|