Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RAS API In VFP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00243058
Message ID:
00243106
Views:
36
>I have some problems with RasEnumEntries() API function. I need proper declaration for this RAS function in Visual FoxPro 5.0 or 6.0. Also I need story about passing array to API function from VFP. Please response ASAP.

Hi Ivica,

The declaration would be as follows:
DECLARE INTEGER RasEnumEntries IN RASAPI32.DLL;
  STRING @reserved, STRING @lpszPhonebook,;
  STRING @lprasentryname, INTEGER @lpcb,;
  INTEGER @lpcEntries
* Defines a single element RASENTRYNAME array
lcrasentryname = CHR(5) + CHR(1) + REPLICATE(CHR(0), 2) + SPACE(257)
To create additional elements for the array simply concatenate the lcrasentryname string.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform