<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1265385038;
        mso-list-template-ids:335203834;}
@list l1
        {mso-list-id:2089185941;
        mso-list-template-ids:-21604022;}
@list l1:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The problem was due to conflict of data
type definition for wchar between OmniORB and my sample projects. In my
samples, I’m using my own definition for wchar as a 16 bit entity using “Unsigned
Short”. But OmniORB uses its own CORBA::WChar data type. So wherever I’m
using the CORBA::WString methods, the linker reports that all of them are
unresolved symbols along with “Unsigned Short” as the parameters of
those method signatures.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Actually, we can override the CORBA::WChar
data type by our own data type in omniORB. It can be done through the manually
in “$...\include\omniORB4\local_config.h” file in omniORB source
distribution. After changing it, rebuilt the omniORB again. All the linking
issues have been resolved. It works fine.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Since beginning, I was expecting the
similar configuration and searching the same. Unfortunately, I haven’t
found it in documentation, examples and nowhere in distribution list. At last, got
it in one of the header file. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>For better documentation, Can we put this
information into either Readme or user guide or any other documentation? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sahay.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Luke Deller
[mailto:ldeller@xplantechnology.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 25, 2006
5:22 AM<br>
<b><span style='font-weight:bold'>To:</span></b> S. Sahayaraj; Barthel Marco<br>
<b><span style='font-weight:bold'>Cc:</span></b> OmniOrb<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [omniORB]
Corba::WString or WChar</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>No, that’s not what
this option does. It does not cause string variables to be stored as wide
characters where they would otherwise be stored as 8-bit characters.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>With this option
disabled, “wchar_t” is not a built in type, so you’ll get an
error if you try to use it unless you have included a header file which defines
it. In this case it is typically typedef’d to “unsigned
short” by a relevant header file.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>With this option enabled,
“wchar_t” is its own built-in type, just as “int” is a
built-in type; it is not defined by a typedef statement.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>Reference: <a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vclrfZcwchar_t.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vclrfZcwchar_t.asp</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>Marco’s suggestion
sounds like a good one to me, because the use of this option would impact the
type signature of functions using wchar_t which would in turn affect the
mangled symbol name. I imagine that you would need to use the same
setting for this option as was used to compile omniORB.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>Luke.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
omniorb-list-bounces@omniorb-support.com
[mailto:omniorb-list-bounces@omniorb-support.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>S. Sahayaraj<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, 24 October 2006
9:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Barthel Marco<br>
<b><span style='font-weight:bold'>Cc:</span></b> OmniOrb<br>
<b><span style='font-weight:bold'>Subject:</span></b> [SPAM_HeaderCheck] - RE:
[omniORB] Corba::WString or WChar - Email has different SMTP TO: and MIME TO:
fields in the email addresses</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-AU
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'>If you enable
“Treat wchar_t as Built-in Type” option, then it simply treats
that all the string variables in your project are in WChar format which I
don’t want. Because, we have to use Char or Char* in some situation.</span></font><span
lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font><span
lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font><span
lang=EN-AU><o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-AU style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-AU
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-AU style='font-size:10.0pt;font-family:Tahoma'>
Barthel Marco [mailto:Marco.Barthel@comergo.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, October 20, 2006
1:46 PM<br>
<b><span style='font-weight:bold'>To:</span></b> S. Sahayaraj; OmniOrb<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [omniORB]
Corba::WString or WChar</span></font><span lang=EN-AU><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-AU
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:blue'>consider the Option
C-C++/Language "Treat wchar_t as Built-In Type" in Visual-Studio.
omniorb and your application must be compiled with the same settings.</span></font><span
lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-AU
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-AU
style='font-size:10.0pt;font-family:Arial;color:blue'>-marco</span></font><span
lang=EN-AU><o:p></o:p></span></p>
<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-AU
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-AU style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
lang=EN-AU style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-AU style='font-size:10.0pt;font-family:Tahoma'>
omniorb-list-bounces@omniorb-support.com
[mailto:omniorb-list-bounces@omniorb-support.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>S. Sahayaraj<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, October 17, 2006
3:06 PM<br>
<b><span style='font-weight:bold'>To:</span></b> OmniOrb<br>
<b><span style='font-weight:bold'>Subject:</span></b> [omniORB] Corba::WString
or WChar</span></font><span lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>I’ve tried to use WString or WChar data type in
my sample application. I was able to compile the IDL and build the application.
It went fine. But while running that application, I’m getting the error <a
href="mailto:?empty_wstring@_CORBA_WString_helper@@2QBGB%20could%20not%20be%20located%20in%20dynamic%20link%20library%20omniORB407_rtd.dll">?empty_wstring@_CORBA_WString_helper@@2QBGB
could not be located in dynamic link library omniORB407_rtd.dll</a>. It looks
the implementation of WString are missing or not enabled in the DLL’s.
So, I just would like to know the following.</span></font><span
lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'> </span></font><span lang=EN-AU><o:p></o:p></span></p>
<ol style='margin-top:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-AU style='font-size:10.0pt;font-family:Arial'>In order to enable
the WString or WChar, Do we need to use any configuration parameters
while ORB_Init?</span></font><span lang=EN-AU> <o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-AU style='font-size:10.0pt;font-family:Arial'>Do we have to use
any additional DLL’s/Lib’s apart from omniORB, omniDynamic and
omniThread?</span></font><span lang=EN-AU> <o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-AU style='font-size:10.0pt;font-family:Arial'>While compiling the
omniORB source, do we need to enable any configuration input in make
files?</span></font><span lang=EN-AU> <o:p></o:p></span></li>
</ol>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'> </span></font><span lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>BTW, it works fine on string or char data types.</span></font><span
lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'> </span></font><span lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Thanks</span></font><span lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'>Sahay.</span></font><span lang=EN-AU><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt;font-family:Arial'> </span></font><span lang=EN-AU><o:p></o:p></span></p>
</blockquote>
</div>
</body>
<!--[object_id=#xplantechnology.com#]--><P align=left><FONT face=Tahoma size=2>******************************<WBR>******************************<WBR>******************************<WBR>****<BR>Important Note<BR></FONT><FONT face=Tahoma size=2>This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the<BR>sender immediately and delete this email. Any views expressed in this email are not necessarily the views of XPlan Technology.<BR><BR>It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.<BR>Xplan Technology does not warrant that the information is free of a virus or any other defect or error.<BR>******************************<WBR>******************************<WBR>******************************<WBR>****</FONT></P>
</html>