>I tried two way's
>
>a) cBuffer=space(232) (that is size of data structure written i C+, you can see structure in earlier posts)
>b) Boris's way
>cBuffer = SPACE(50)+BINTOC(50, 4)+SPACE(50)+BINTOC(50, 4)+SPACE(50)+BINTOC(50, 4)+SPACE(30)+BINTOC(30, 4)+SPACE(16)+BINTOC(16, 4)+SPACE(16)+BINTOC(16, 4)+SPACE(20)+BINTOC(20, 4)
>
>Same error.
The size of structure is 260 bytes. Try
cBuffer = REPLICATE(CHR(0), 1000)
--sb--