Hello Ann,

> AStream.Seek(0, sofromBeginning);  <--- Access Violation...

Probably the stream is invalid or not assigned. Try this:

if Assigned(AStream) then
   AStream.Seek(0, soFromBeginning);

This does a check if the pointer contain nill or a value.

---
Rgds, Wilfried
http://www.mestdagh.biz


-- 
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

Reply via email to