Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Servers in Win and Novell Network
Message
De
16/04/2003 15:44:06
 
 
À
16/04/2003 15:17:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00778505
Message ID:
00778560
Vues:
25
NetServerEnum returns all servers of a given type but I think it may only work in domains.

DECLARE INTEGER NetServerEnum IN netapi32;
INTEGER servername,;
INTEGER level,;
INTEGER @ bufptr,;
INTEGER prefmaxlen,;
INTEGER @ entriesread,;
INTEGER @ totalentries,;
INTEGER servertype,;
STRING domain,;
INTEGER resume_handle



>correct:" using GPLIB UNTIL they switch over to Windows servers "
>The reason I said Novel and window is cause I NOW I want to be able to read both. But not important, I just want to be able to read the servers names.
>
>I have to read the info you send me but Netware API sounds like only for Novell.
>
>What's netserverenum ?
>
>
>
>>Ok,but first you said for Novell AND Windows. I understand you now to say that it is working using GPLIB UNTIL they switch over to Windows servers so you really only need to do this for windows, correct? You can already do this for novell using Netware API (an example in VB can be seen here: http://www.zootv.demon.co.uk/nwvb/devintro.htm)
>>
>>Am I understanding correctly?
>>
>>If so, then doesn't netserverenum do what you need?
>>
>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform