Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Urgent:How to find other computer names in local domain
Message
De
20/10/1998 01:45:19
 
 
À
17/10/1998 20:52:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00147487
Message ID:
00148391
Vues:
34
>Use NetServerEnum() Win32 API function.
>
>Vlad
>
>>I am working on Win95/VFP6 platform. I want to get the list of other computer names available in my domain and other domains.
>>
>>How do I do it ?

But as per the msdn library documentation you cannot use that function on the Windows 95 . Alternatively you can use "mpr.dll" with functions WNetEnumResource() and wnetopenenum() , but it has some complications. like sending a NETRESOURCE structure by reference. Is it possible in VFP sending structures like that ? How can I use C code directly from Foxpro . If you have any example pl. send it. and also tell the additional files that I should have to do that.


This is the quick info associated with it.

QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in lmserver.h.
Import Library: Use netapi32.lib.


There is a shell object , in Shdocvw.dll
which comes if you have the ie 3 or above . You can use that
but I am not able do it . Trying my best to do it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform