Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WMI SDK for windows XP

Posted on 2003-11-14
5
Medium Priority
?
3,489 Views
Last Modified: 2007-12-19
I would like to download WMI SDK to WIndows XP. However, WDI SDK is only available to windows 2000 and early. Microsoft .NET has some WMI SDK facility.

If I do not want to use .NET, is there any workaround for me to have WMI SDK functions? To be more specific, I can not find "wbemcli.h" in Microsoft Visual C++ 6.0 and Microsoft SDK. It is in WMI SDK for windows which I can not download for XP. How can I get it for Windows XP?

Thanks.

Alice
0
Comment
Question by:alice_2003
  • 3
4 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 9750216
Well according to this the link .NET also required in Win2000 also

https://qmedia.e-storefront.com/showcontent.asp?contentname=PlatformSDKHome
Microsoft Windows .NET Server RC1, Microsoft Windows XP, Microsoft Windows 2000 SP2, or Microsoft Windows NT 4.0 SP6.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 9750229
Well maybe not that statement may have be an "or" for each item.
0
 
LVL 44

Accepted Solution

by:
CrazyOne earned 2000 total points
ID: 9750251
There is one realesed early this year on CD

http://qmedia.e-storefront.com/product.asp?productid=26
0
 

Author Comment

by:alice_2003
ID: 9781541
I have downloaded the WMI SDK. Now my program compiled and is working. However, there is still one issue with it:

I am implementing a NT service which calls an executable (cm.exe). Inside cm.exe, it creates another process (rec.exe). When I stop the service from Service Control Manager(SCM), cm.exe stops. I can manually end the process rec.exe from SCM in windows XP (it is under system account). However, in Windows 2000, it can not be stopped. I have to reboot to stop rec.exe.

I want to change my program such that when cm.exe is killed, its created process rec.exe is stopped as well. I used the following functions in my program. But rec.exe is not stopped when cm.exe is stopped. Any other way? Thanks.  --A.

HANDLE pid;
  void (signal (WM_CHAR,endprog));
  void (signal (WM_QUIT,endprog));
  void (signal (SIGTERM,endprog));
  void (signal (SIGABRT,endprog));
  void (signal (SIGSEGV,endprog));

void endprog (int signal_num)
{
      printf("Got signal %d\n",signal_num);
      if (pid) {
            /* Shut down rec.exe process */
            TerminateProcess(pid, 0);  
            pid = 0;
      }
}



0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question