Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB Call to API vs VFP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00255827
Message ID:
00256471
Views:
39
Hi Ed,

>if your DECLARE...DLL has a STRING @ parameter, passing an integer 0 works as a null pointer (equivalent to VB's vbNull construct.)

I usually pass .NULL. in this case, VFP translates that to 0, as well.

>a SHORT, which is two bytes, and can only be declared as the return type.

That's new to me. I used it as a parameter type in DECLARE and it worked, except for passing by reference in VFP 5, where the return value is always 0.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform