Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Properly Declare an API Function?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to Properly Declare an API Function?
Miscellaneous
Thread ID:
01566486
Message ID:
01566486
Views:
56
Hi

I would like to know the correct way to delcare the following C function in VFP:

int SetServer_IP (int context, char *Value);

I used:

Declare Integer SetServer_IP In XTran.dll As PP_SetServer_IP Integer lnContext,String lcIP

but I am wondering whether the it should be:

Declare Integer SetServer_IP In XTran.dll As PP_SetServer_IP Integer lnContext,String @ lcIP

Thanks,
Simon
Simon White
dCipher Computing
Next
Reply
Map
View

Click here to load this message in the networking platform