Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alloc an int in CLSHEAP
Message
 
 
À
30/07/2001 09:18:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00537090
Message ID:
00537172
Vues:
22
>>Unfortunately, BINTOC() isn't usable when dealing with C-type WORD/DWORD for two reasons.
>> ...
>
>One more question (I am new to this segment of programming): Am I correct to assume that a VFP char (4-byte) has to be passed? If I create a function to construct the character value in the correct format, would this work?
>
>Hilmar.

If you mean converting a numeric to a character representation then yes it has to be passed. If you mean actual character data, then most likely you only have to append a CHR(0) to the end to make it NULL terminated (unless there is a numeric somewhere that tells the passee how much data was passed).

If you take a look at some of the functions in the WinAPI section, you can see various types of numeric dta being converted and passed.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform