Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FLL creation problem
Message
 
À
18/11/2011 13:35:11
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Divers
Thread ID:
01529243
Message ID:
01529244
Vues:
68
>Hi folks!
>I'm creating a FLL, but I'm facing some problems with Integer parameters.
>Please, take a look at the following code:
>
>VFP code:
>MyFunc(0)
>
>VC++ code:
>void MyFunc (ParamBlk FAR *parm)
>if (parm->p[0].val.ev_long==0) // the result isn't true
>
>I need some kind of cast to make it work?
>What's wrong, please, help me to solve this.
>
>Thanks a lot!

What is your declaration of FoxInfo myFoxInfo[] for that function?
What happens if you debug this?

BTW you must remove FAR from parameter declaration:
void MyFunc (ParamBlk *parm)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform