[Vortex] win2K and Channel DTD

DE JAGER Frédéric NAN frederic.dejager at atosorigin.com
Wed Oct 8 09:18:07 CEST 2008


Hello Francis,

I'm using the binary distribution of LibVortex (version 1.0.15)

I narrowed the trouble to a probable bad behaviour in the functions
axl_stream_strdup_printfv and axl_stream_strdup_printf_len which look to
behave differently on Win2K than XP.

To have a correct behaviour I did rebuild LibAxl using the Visual C++
solution but modified the it:

In the axl_config.h I file I commented the following lines 
//#define AXL_OS_UNIX (0)
//#define AXL_HAVE_VASPRINTF (0)
As my target platform is WIN32 and not using gcc it make sense :)



Next I've modified the project properties:

I added the following preprocessor definitions :
_CRT_SECURE_NO_DEPRECATE (to get ride of the junk produced by visual about
deprecated functions)
AXL_OS_WIN32 


It seems to work but as I'm not the dev. using your lib I don't really know
if it can break things as I've no idea of potential side effect.

Cheers
Fred


-----Message d'origine-----
De : Francis Brosnan Blazquez [mailto:francis at aspl.es] 
Envoyé : mardi 7 octobre 2008 18:51
À : DE JAGER Frédéric NAN
Cc : vortex at lists.aspl.es
Objet : Re: [Vortex] win2K and Channel DTD

> Hello gents,

Hi Fred,

> I’m quite a newbie using Vortex but I’m confronted to the following
> problem under windows 2000 (the target platform for our dev)
> 
>  
> 
> VORTEX_ERROR: unable to load channel.dtd file.
> 
> VORTEX_ERROR: unable to load dtd files (this means some DTD (or all)
> file wasn't possible to be loaded.
> 
> ERROR: unable to initialize vortex library
> 
>  
> 
>  
> 
> I tried without success to add a vortex_support_add_search_path as
> it’s supposed to correct the problem
> (http://lists.aspl.es/pipermail/vortex/2007-August/000190.html)
> 
>  
> 
> But without success, I did ask for a win2k dev platform but as in any
> big corporation like mine i twill take a a looooooong time before I
> can really have it)
> 
>  
> 
>  
> 
> Any pointer to a possible cure ?

Starting from vortex 1.0.14 release [1] it is no longer required to
bundle DTD files along with the dll. They are inlined inside the code
using axl-knife (see vortex-channel.dtd.h [2]). 

Are you using vortex 1.0.15 windows installer? or you are building from
source code?

Cheers!

> Cheers 

[1] http://lists.aspl.es/pipermail/vortex/2008-April/000446.html
[2]
https://dolphin.aspl.es/svn/publico/af-arch/trunk/libvortex/src/vortex-chann
el.dtd.h

> Fred
> 
-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.




More information about the Vortex mailing list