Re: programs: add extrac32 tool

2009-09-29 Thread Andrey Turkin
extrac32 is not a console program; on Windows it doesn't create a console and doesn't write anything to stdout or stderr regardless of command line. I agree those FIXMEs you pointed out are not FIXMEs really - some of them are errors and some should be warnings. I'll fix them. Kirill K. Smirno

programs: add extrac32 tool

2009-09-29 Thread Kirill K. Smirnov
Hi, +int PASCAL wWinMain ( HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int show ) +{ extrac32 is a console application, isn't it? Why not wmain() instead? And get rid of rather complex ParseCmdLine(). +if (!SetupIterateCabinetW( pszCabFile, 0, (PSP_FILE_CALLBACK) ExtCabCallback, 0

Re: programs: add extrac32 tool

2009-09-27 Thread Nikolay Sivov
Andrey Turkin wrote: Taken from Etersoft git tree with some small fixes (code style, constness etc) and minimal /C mode support required to fix bug 18097. --- configure.ac |1 + programs/extrac32/Makefile.in | 16 ++ programs/extrac32/extrac32.c | 423 +++

Re: programs: Add extrac32 (empty program)

2007-07-10 Thread Anatoly Lyutin
James Hawkins wrote: On 7/6/07, Anatoly Lyutin <[EMAIL PROTECTED]> wrote: Yesterday I post a first version of extrac32. I expected that this version would be filled with bugs but I thought that would be better to apply this version because it contains some binding parts (add this program in conf

Re: programs: Add extrac32 (empty program)

2007-07-10 Thread Anatoly Lyutin
James Hawkins wrote: On 7/9/07, Anatoly Lyutin <[EMAIL PROTECTED]> wrote: James Hawkins wrote: > On 7/6/07, Anatoly Lyutin <[EMAIL PROTECTED]> wrote: >> Yesterday I post a first version of extrac32. I expected that this >> version would be filled with bugs but I thought that would be better to

Re: programs: Add extrac32 (empty program)

2007-07-09 Thread James Hawkins
On 7/9/07, Anatoly Lyutin <[EMAIL PROTECTED]> wrote: James Hawkins wrote: > On 7/6/07, Anatoly Lyutin <[EMAIL PROTECTED]> wrote: >> Yesterday I post a first version of extrac32. I expected that this >> version would be filled with bugs but I thought that would be better to >> apply this version b

Re: programs: Add extrac32

2007-07-07 Thread Vitaly Lipatov
В сообщении от 6 июля 2007 Kirill K. Smirnov написал(a): > > +int PASCAL wWinMain ( HINSTANCE hInstance, HINSTANCE prev, LPWSTR > > cmdline, > > int show ) > > Sorry for asking this too late, but what's the point to use WinMain in pure > console application? 'cmd' and 'xcopy' use wmain. extrac32 is

Re: programs: Add extrac32 (empty program)

2007-07-06 Thread James Hawkins
On 7/6/07, Anatoly Lyutin <[EMAIL PROTECTED]> wrote: Yesterday I post a first version of extrac32. I expected that this version would be filled with bugs but I thought that would be better to apply this version because it contains some binding parts (add this program in configure.ac and etc). And

programs: Add extrac32

2007-07-06 Thread Kirill K. Smirnov
> +int PASCAL wWinMain ( HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int show ) Sorry for asking this too late, but what's the point to use WinMain in pure console application? 'cmd' and 'xcopy' use wmain. -- Kirill