0) The following code failed to compile. I have installed the wmi sdk,
I don't know what is missing.
hr = CoCreateInstance(CLSID_WbemLocator, 0, CLSCTX_INPROC_SERVER,
IID_IWbemLocator, (LPVOID *) &pLocator);
It failed at CLSID_WbemLocator & IID_IWbemLocator = unknown
identifiers. This has been driving me nuts for more than a day, please
give me some pointers or steps.
1) Is WMI the ultimate solution to finding the driver date? If I can't
get the above to work, to access the date member, I need to find
another way, but I am clueless.
Thanks for any help.
ccc
add the library 'wbemuuid.lib' to the library you use to link your project
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"ccc" <chia...@yahoo.com> wrote in message
news:baacaa54.03060...@posting.google.com...
A different question from the above, is there a way to pop up a
pre-selected device property sheet from the device manager, i.e.
code-wise, to pop up the 'standard floppy controller' from the floppy
controllers under device manager w/o having to manually open device
manager?
Thank you very much.
ccc