Information générale
Catégorie:
Fonctions Windows API
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement