<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:st1="urn:schemas-microsoft-com:office:smarttags" 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]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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:Consolas;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Consolas;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:10.0pt;font-family:Consolas'>I solved my problem! I
added the following line before calling vortex_init() and now vortex_init()
succeeds.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color="#010001"
face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:#010001'>
vortex_support_add_search_path</span></font><font size=2 face=Consolas><span
style='font-size:10.0pt;font-family:Consolas'>(<font color="#a31515"><span
style='color:#A31515'>"C:\\Program Files\\VortexLibraryW32\\bin"</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:10.0pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:10.0pt;font-family:Consolas'>I recommend adding updating the DOC’s
to mention that <font color="#010001"><span style='color:#010001'>vortex_support_add_search_path()
needs to be called. </span></font><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Consolas><span
style='font-size:10.0pt;font-family:Consolas;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Consolas><span
style='font-size:10.0pt;font-family:Consolas;color:blue'><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'> <st1:PersonName
w:st="on">Yourch, Chris</st1:PersonName> <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, August 27, 2007 5:01
PM<br>
<b><span style='font-weight:bold'>To:</span></b> vortex@lists.aspl.es<br>
<b><span style='font-weight:bold'>Subject:</span></b> Error running the profile
example</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 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>I am working with the profile example <a
href="http://www.aspl.es/fact/files/af-arch/vortex/html/profile_example.html">http://www.aspl.es/fact/files/af-arch/vortex/html/profile_example.html</a>
and when I run it I get the following error:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>(proc 3392): (debug)vortex: init winsocket for windows<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>(proc 3392): (debug)vortex-win32: winsock initialization
ok<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>(proc 3392): (debug)vortex-support: unable to find file
channel.dtd on channel.dtd<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>VORTEX_ERROR: unable to load channel.dtd file.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>VORTEX_ERROR: unable to load dtd files (this means some
DTD (or all) file wasn't possible to be loaded.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>I have copied the contents of the vortex BIN directory to
my project’s bin directory and still get the same error.
‘Channel.dtd’ is definitely there!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>I am using Windows XP SP2, Visual Studio 2005 with a C++
console project and finally, using vortex-installer-1.0.6.1-w32.exe of Vortex.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'>On similar note, I downloaded the Vortex source (to try
and find out why vortext_init() fails) and cannot compile the project. The
compiler is looking for <font color="#a31515"><span style='color:#A31515'><netdb.h></span></font>
which is included from ‘vortex.h’ which then pointed me edit the
following macros in axl_config.h as follows:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=green
face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:green'>
//#define AXL_OS_UNIX (1)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:blue'>
#define</span></font><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'> <font color="#010001"><span style='color:#010001'>AXL_OS_WIN32</span></font>
(1)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:10.0pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
</div>
</body>
</html>