Hello KM,
thanks for your reply. Finally I used NetJoinDomain() function from
netapi32.lib
> How about using WSH?
> JoinDomainOrWorkgroup Method of the Win32_ComputerSystem Class:
> http://msdn.microsoft.com/library/de...utersystem.asp
>
> Or you can use NetDom utility of ResKit. (http://www.petri.co.il/download_w2k_...port_tools.htm)
About NetDom - as far as I got from my tests of this utility - it works
mainly with domains. I didn't manage it to change workgroup name.
--
Nikolai Vorontsov
Quadrox NV