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
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao