Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RAS API In VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00243058
Message ID:
00243106
Vues:
42
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform