Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare statements
Message
From
14/05/2004 16:41:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Declare statements
Miscellaneous
Thread ID:
00904214
Message ID:
00904214
Views:
48
I am working in vfp6 sp5 on an NT4 machine.
I have looked at examples in the UT magizine and in the downloads about calling APIs from VFP. In the examples I have seen here, the parameters passed are given the type, reference or value, and a variable name like this:

DECLARE LONG socket IN "wsock32.dll" LONG af, LONG prototype, LONG protocol

but in code that I inherited, the parameters passed are only given the type and reference or value like this:

DECLARE INTEGER GetLandmarkListData IN georeports STRING @

which is the correct or best way to do this? And why?

TIA
Beth
Next
Reply
Map
View

Click here to load this message in the networking platform