Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WINMM.DLL and Saving File Names
Message
De
05/09/2001 11:33:39
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00552081
Message ID:
00552570
Vues:
15
>>- I thought the lnBufferSize must be passed by reference, so its value would reflect the change in size, i.e. would hold the length of the result. On the contrary, it remains unchanged. I tried this as an analogy to GetPrivateProfileString, where it does carry the length.

>For GetShortPathName(), the size of the buffer doesn't receive a value and is, therefore, passed by value.

So I figured. I wish they were more consistent, shouldn't they?

Oh, just checked - I was passing it by reference in GetPrivateProfileString, where it actually passes it by value... my bad. So they are consistent, it was me with a few odd memory chips.

Whew, for a moment I thought you'd object to Rod Stewart :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform