Minimum WMI requirements for command prompt c++
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I only need to use a command prompt for my program and want to call a couple of WMI methods. All the examples I see on the web use MFC and Windows Forms for showing how to use WMI. A simple example would be to just call Win32_WindowsProductActivation.SetProductKey( myKey ); and then close the app. I just need a start on what I need to include and do to setup a simple call without using forms. I am not that familiar with MFC Forms, only .Net Forms, but I do not want to have to install the .Net framework so I thought i would just write this in C++. Also, do not want to use VB Script. Well, hopefully this is easy for someone to whip up an example for me. Much appreciated. Thanks.