[Vortex] win2K and Channel DTD
Francis Brosnan Blazquez
francis at aspl.es
Wed Oct 8 10:23:12 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
> 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 :)
;-) Ok. Just to note inside the distribution it is included a static
version of axl_config.h for the windows platform: axl_config_win32.h.
You only need to rename it to axl_config.h during the compile process.
> 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
> deprecated functions)
> It seems to work but as I'm not the dev. using your lib I don't really
> if it can break things as I've no idea of potential side effect.
To check if your axl build is right, you can use the regression test
located at test/test_01.c. Inside the windows installer, it is also
However, I don't see which is the change that makes your build to work.
It is a matter of the compiler? or because adding
_CRT_SECURE_NO_DEPRECATE? Can you provide more details about this?
Thanks for reporting Fred. Cheers!
Francis Brosnan Blazquez <francis at aspl.es>
More information about the Vortex