Hello every body,
I use the O3WebServices and  I try to send to the user a response by
binary data. I wrote down in my program the fellowing instruction:

Response.ContentType := ctApplicationOctetStream;
and the type of Response.data is POINTER to ARRAY of BYTE

When I execute the program, I get a

Trap 21 ( precondition violated)
in the procedure CommTCP.Stream.WriteBytes

Thank you in advance ! Best regards.

Mar NDIAYE
------------------------------------------------------------------------------------
Mar NDIAYE
Laboratoire d'Analyse et de
Technologie du Langage 
Université de Genève
2, rue de Candolle 
CH-1211 Genève 4
Bureau : L 706
Tel :  ++41 (0)22 /379 63 32
Natel: ++41 (0) 078/ 8 55 06 20
 
http://www.latl.unige.ch