ctApplicationOctetStream

From: [at]} <Mar>
Date: Fri, 21 Nov 2003 16:52:40 +0100

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


 





BEGIN:VCARD
FN:(null)
N:;;;;
VERSION: 3.0
END:VCARD

Glacier_Bkgrd.jpg
(image/jpeg attachment: Glacier_Bkgrd.jpg)

Received on Fri Nov 21 2003 - 16:52:40 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:02 UTC