Ok I fiddled a bit with the code. It isnt super optimized but the exe is smaller and the sourcecode is somewhat smaller. Also this one should work I think. Just a few minor changes and also some places where a bug could occur are removed.
O yes the exe has been drastically reduced in size, there is no sense in having an exe of 49K for such a simple proggy. Since it runs under windows I assumed msvcrt.dll was available (as it should).
|