NetGetDCName_
Posted: Tue Oct 26, 2010 6:32 pm
I feel like this should be easy.. but...
How can I read the name of the Domain Controller that's returned...
I get a result code that says the function succeeded..
but I have had no luck reading the name of the server from @mydc.. not with peekS, uni2ansi.. etc..
The program is compiled Unicode on PB 4.50
How can I read the name of the Domain Controller that's returned...
I get a result code that says the function succeeded..
Code: Select all
mydc.s = Space(255)
rc.l = NetGetDCName_(0,0,@mydc)
PrintN("Did I get my DC? " + Str(rc))
The program is compiled Unicode on PB 4.50