Thanks Francois for the testing. Arno was right. Once I updated to the latest ICS, the file size went down to 127KB (Delphi 5.)
Before I used TWSocketServer it was 61KB. Not sure why it doubled the file size. But it's still a lot better than before, which was over 300KB. I added some lines of code though but I didn't add any other unites. -- Best regards, Jack Thursday, April 14, 2005, 1:52:17 PM, you wrote: AG> Francois PIETTE wrote: >>> I did some further testing. >>> >>> I commented out most of my code so it's not doing >>> anything. When I only have WSocket in uses clause, >>> the file size is 61KB. The moment I put WSocketS in, >>> the file size jumps to 288KB (on D5.) This is when >>> no function of ICS is being called, no object created. >>> Only used. I even deleted all ICS dcu files. >> >> I created a new console mode application (D7), added NOFORMS in the >> project defines. >> Compilation gives a filesize: 39.424 Bytes. >> Added WSocket to the uses clause: 91.136 Bytes. >> Added WSocketS to the uses clause: 91.648 Bytes. >> Removed NOFORMS from the defines: 427.008 Bytes. AG> I may be wrong, but I believe I recall that there was AG> something buggy in TWSocketServer with that in previous versions. AG> Jack, are you working with the lastest ICS release? AG> Arno Garrels >> >> Options are for debugging: no optimization, range checking enabled, I/O >> checking enabled, Overflow checking enabled, debug information enabled. >> >> My conclusion is that NOFORMS works very well, including with >> TWSocketServer. >> >> -- >> [EMAIL PROTECTED] >> http://www.overbyte.be AG> -- AG> To unsubscribe or change your settings for TWSocket mailing list AG> please goto http://www.elists.org/mailman/listinfo/twsocket AG> Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be