On Mon, Feb 06, 2006 at 11:17:08AM -0600, Dmitry Timoshkov wrote: : Apparently under Windows you can't build a not trivial exe which : depends only on libc either.
That's right.
But with WTL, it's possible to build a reasonable sophisticated application that depends only on DLLs that are already on the system.
My biggest WTL application so far, a project for the Austrian Mountain Rescue Service, has roughly 100.000 lines of code (sloccount). You can find a description on http://www.clausfischer.com/eis.en.html (a bit outdated though).
When the first phase was finished, the program would still run under Windows 98 SE upwards. It now depends on the following DLL's:
VERSION.DLL WS2_32.DLL KERNEL32.DLL USER32.DLL GDI32.DLL COMDLG32.DLL ADVAPI32.DLL SHELL32.DLL OLE32.DLL WININET.DLL COMCTL32.DLL
On any reasonable PC with internet access (it's a networked application talking to several redundant data servers), you will find those.
Therefore, Installation is as easy as copying the EXE and starting.
That is a requirement, since the Montain Rescue Service is a volunteer organization with members from all kinds of social background, work environment, and Laptop infrastructure.
For this reason, having WTL+Winelib for Linux would have been just too nice to think of :-)
Regards,
Claus