Ethereal-dev: Re: [Ethereal-dev] patch to fix runtime problems with Visual Studio > 6

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Laurent Rabret" <laurent_rabret@xxxxxxxxxxx>
Date: Tue, 07 Mar 2006 23:27:49 +0100
>There's a problem with Unicode chars in the filenames, therefore the >GLib conversion functions are used since GTK2.6.
>
>
>As Gerald has recently implemented the WIN32 native file dialogs
>(which are currently not working with Unicode chars), I'm quite unsure >about the way to go now.
>
>Currently we are using UTF8 internally and converting it at the >"outside corners", just as the Unix version does.
What do you mean by Win32 native? Without glib file functions? I hope so because otherwise Ethereal might not work when compiled with a recent VS release. The problem is just you can't mix runtime libs...
>However, switching would mean we had to compile all the libs we use on >our own (which I personally wouldn't like to do) or wait until all the >libs we use provide a MSVC 7+ version (which is unlikely in the near >future).

Why? As I already mentioned on this list, it is just necessary to rebuild one external lib: "zlib". All others can be reused as is... There are just some restrictions with glib but up to now it has never been a problem.

Regards

Laurent