Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus Organizer 97 API
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00055806
Message ID:
00055917
Views:
25
>Theoretically, yes. Practically, no! :) I had a DLL that I could not open in VFP, although it worked in VC++.
>
>I don't think it will help (I don't think you can have that error message because of this), but: any parameter of type "lp..." is a pointer. So, you must declare it as passed by reference (ie with an "@") and use it in the same way. Also, you can't use callback functions in VFP (AFAIK).
>
>This doesn't make any difference: LONG is exactly the same as INTEGER in VFP.

I will try your pass by reference tomorrow and keep my fingers crossed. The DLL function I am trying to call has a callbank function as one of its arguments. How should I handle this? Does this mean I cannot use this function? If so, I'll have to use VB or VC++.

BTW, how did you handle the DLL that worked in VC++ but not in VFP? Did you write a wrapper around it in C and make a DLL in C to use in VFP?

Thanks for the help!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform