|
-
June 3rd, 2002, 07:19 AM
#1
Win32_NetworkAdapterConfiguration
Hi All,
I have to use Win32_NetworkAdapterConfiguration class for getting/setting Network properties.
eg: For enabling DHCP. ( call the member function EnableDHCP() of this class.).
For this i need to use the COM interface IWbemLocator.
And this interface requires Wbemuuid.lib.
Although this Wbemuuid.lib is present in my machine, i couldn't find its coresponding dll in my machine.
So when i call CoCreateInstance it fails saying class is not registered.
My machine is Windows NT4 (SP6).
Please help me out of this problem.
I called CoCreateInstance like this.
CoCreateInstance(CLSID_WbemLocator, 0, CLSCTX_INPROC_SERVER, IID_IWbemLocator, (LPVOID *) &pLocator)
Thanks in Advance
Cherian
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|