Bo Peng <[EMAIL PROTECTED]> writes: > I am surprised that the attached short patch simply works, using > mingw/win32api. Zlib.dll does not cause any trouble.
It may work but there's no way that core code should contain #ifdef WIN32 blocks. You should add a function to lyx::support. That might sound like me being a PITA but that's not my intention. If this facility is extended in the future to support similar functionality on Mac, kde, gnome then it'll be a big win. Angus