BINTOC() will convert an integer to a 1, 2, or 4-byte character. Default 4 (if no second parameter).
>Int are 4 bytes in size. I believe there is a function NumtoWord or something like that. Use that to convert an integer value to a WORD string.
>
>HTH.
>
>>Hello,
>>
>>how can i alloc an INTEGER in CLSHEAP?
>>
>>my structure starts as followed:
>>
>>typedef struct hlserver
>>{
>>int ID,
>>char *Host_Name,
>>...
>>}
>>
>>don't understand how to create the INT as the first value in the structure
>>
>>THX beforehand
>>
>>Christian Ehlscheid
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)