Re: Getting class names with the API?



Vincent Fatica wrote:
For Each objclass in objWMIService.SubclassesOf()
Wscript.Echo objClass.Path_.Class
Next

Thanks, gents, but my question is: Does the Win32 API offer a way to
enumerate the subclasses of an IWbemServices object? I want to do it
in an EXE.

But you CAN do it in an exe with C++, my example is just to make it easy to understand. If you don't know how to convert the above into C++ you are probably not ready for that kind of programming. If you DO know how to convert it, what's the problem? Do you want me to write the whole app for you?

--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: Getting class names with the API?
    ... Thanks, gents, but my question is: Does the Win32 API offer a way to ... enumerate the subclasses of an IWbemServices object? ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Getting class names with the API?
    ... enumerate the subclasses of an IWbemServices object? ... But you CAN do it in an exe with C++, my example is just to make it easy ... The whole app, no. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: ShellExecute
    ... >> (GetProcessID), then enumerate the processes ... > CreateToolhelp32Snapshot won't return a full path to the EXE under the ... > NT kernel, just the exe name. ...
    (microsoft.public.vb.general.discussion)
  • Re: Is it running?
    ... Michael Hesse wrote: ... And what is the name you know, the exe? ... Basically you can enumerate all processes in the system and then ... I do not respond to top-posted replies, ...
    (microsoft.public.vc.language)
  • Re: VB6 Restore Minimized Window - External Application
    ... >I know the EXE name of the application that I want to call. ... >Knowing the EXE name and knowing that only one copy of the EXE will be ... Offhand the only way I know would be to enumerate the running ... you get one who's PID matches. ...
    (microsoft.public.vb.winapi)