Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return (floats / SINGLE/ DOUBLE) from an API
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039147
Message ID:
00039186
Vues:
40
> in VFP > DECLARE DOUBLE AQuAGetLineHeight IN AQuA_Lib INTEGER nInstanceID > nLineHeight = AQuAGetLineHeight(1) > wait window str(nLineHeight,10,3) > > in C++ > float FAR PASCAL EXPORT AQuAGetLineHeight(long nInstanceID) > { > AFX_MANAGE_STATE(AfxGetStaticModuleState()); > // normal function body here > return(2.2345); > } > > The wait iwndow shows 2.000. try adding nLineHeight=0.00 or some other float value before you call your function Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform