Solved

WMI SDK for windows XP

Posted on 2003-11-14
5
3,468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 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 500 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

621 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