Hi,
just a note for anyone who downloaded the sample code I posted.
There is a bug in the Microsoft Winsock ActiveX(now there's a surprise - MS
software with a bug!).

I used the sample as a basis to extract from an Image database at a user
site, and ran the
NT server out of memory, although it only had 2 gig of memory!. The Winsock
control from Microsoft has a memory leak. Every time you transfer data with
a send or receive across the network, the ActiveX adds it to the memory
used, and does not release it.

There are other Sockets controls available from www.catalyst.com (freeware
if I remember rightly) or www.mabry.com

This had not come to light in my own applications, as I use direct DLL calls
to wsock32, and avoid using an ActiveX.

This bug should not cause anyone a problem, as it only came to light after
moving 23 Mb of data over the network.


Thanks

Pete

--
Pete Vickers
Phone: (44) 1204 657497
Fax:      (44) 1204 450927
Mobile: (44) 860 907493
www.petevick.demon.co.uk