Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FLL creation problem
Message
 
To
18/11/2011 13:35:11
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Miscellaneous
Thread ID:
01529243
Message ID:
01529244
Views:
67
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform