Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alloc an int in CLSHEAP
Message
De
30/07/2001 08:31:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00537090
Message ID:
00537127
Vues:
18
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform