>Ed Rauh,
>
>>>>Chan1 = CHR(8) + CHR(1) + NumToBININT(1) + NumToDWORD(5)
>
>I can found the functions of NumToBININT() in your CLSHEAP.prg
>so when i try to pass the parameter into DLL error occur !
Sorry - use NumToShort() or NumToWord() rather than NumToBinInt() - I renamed the function from my library to make the name clearer. The source code is there, so you can look at and read the code, and it is pretty heavily commented.
NumToShort() should be used to work with signed integers - it's slower than NumToWord(), and creates an identical string for numbers in the range (0..2^15-1)