Simple question -Urgent!-
-
Hi, how in Gods name, do i get the doman or workgroup name to wich my computer belongs to? i cant use GetComputerNameEx() cause the app must also run on W9x machines. ibe searched google, the msdn (online and my cd) and found nothing! i cant belive something so apparently simple would be so hard to find! the only thing i can think of right now, is to do the whole WNetopenEnum() / WNetEnumResource() stuff, look for my computer name, check from wich container i got it, etc. Theres GOT to be an easier way! Please help Thanks!
-
Hi, how in Gods name, do i get the doman or workgroup name to wich my computer belongs to? i cant use GetComputerNameEx() cause the app must also run on W9x machines. ibe searched google, the msdn (online and my cd) and found nothing! i cant belive something so apparently simple would be so hard to find! the only thing i can think of right now, is to do the whole WNetopenEnum() / WNetEnumResource() stuff, look for my computer name, check from wich container i got it, etc. Theres GOT to be an easier way! Please help Thanks!
Hi, Get the Local host name and use Netbios call to get Domain name. Iam not sure whether Netbios will return Workgroup name... Anyway, check out it... It will be helpful!! Best Regards, A.Ilamparithi
-
Hi, how in Gods name, do i get the doman or workgroup name to wich my computer belongs to? i cant use GetComputerNameEx() cause the app must also run on W9x machines. ibe searched google, the msdn (online and my cd) and found nothing! i cant belive something so apparently simple would be so hard to find! the only thing i can think of right now, is to do the whole WNetopenEnum() / WNetEnumResource() stuff, look for my computer name, check from wich container i got it, etc. Theres GOT to be an easier way! Please help Thanks!