Re: something is wrong
- Posted by "Juergen Luethje" <j.lue at gmx.de> Aug 24, 2004
- 410 views
Hi Igor, you wrote: > I'm playing with the clock.exw program - one of > the win32lib demos (v0060.03). > > It is 1603 bytes at all. It works OK if it is interpreted, > both in English & in Russian, but doesn't show the current > time if translated to C and compiled with Open Watcom v1.2 > compiler, both in English & in Russian, (on Win95). > > It gives 77 files of C source code (3,487,386 bytes at all) > and the compiled clock.exe is huge - 1,368,064 bytes. > > (It just outputs a small window with just 6 digits > of the current system time, if works normally). > > There is something wrong somewhere in the World, > for both English & Russian, IMHO. 8-0 I have Win32Lib 0.60.1 here (on Windows 98), and just tested its 'clock.exw' program. The results are pretty much the same than yours: - Interpreted with 'exw.exe' 2.4 (Complete Edition), it runs as expected. That is, it shows a window, that only consists of a title bar, which displays the system time. - Translated to C with 'ecw.exe' 2.4, and compiled with the Open Watcom compiler 1.0, an EXE file with a size of 1384448 bytes is produced. Running this EXE file shows the same window, but its title bar doesn't display anything. - Translated to C with 'ecw.exe' 2.4, and compiled with the Borland compiler 5.5, an EXE file with a size of 1376256 bytes is produced. Running this EXE file shows the same window, but its title bar doesn't display anything. Strange. Regards, Juergen