Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12722

Re: Accessing WMI objects

From "Jamal" <nospam@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Accessing WMI objects
Date 2019-12-07 00:11 -0500
Organization Aioe.org NNTP Server
Message-ID <qsfc9k$v6p$1@gioia.aioe.org> (permalink)
References <fb55079e-286a-43ff-9a61-b12d803933f3@googlegroups.com>

Show all headers | View raw


Hi Stefan,

Unless I am mistaken, a windows service AFAIK does not have 32 64 bit info 
unless you can distinguish it by name.

Do you know how to create COM components in C# or X#? If so, you can write a 
class that uses .NET System.ServiceProcess to see a service status and much 
more.


Jamal


"Stefan Ungemach"  wrote in message 
news:fb55079e-286a-43ff-9a61-b12d803933f3@googlegroups.com...

Hi all,

has anyone successfully accessed WMI objects (by API) from VO?

I need to query the install path of a running service on my machine from 
within a VO application. I can do this with a Powershell script, but I 
cannot be sure that scripting is enabled on customer machines as well.

The very problem is to find out if an Advantage Database Server is 32 or 64 
bit. The management API only provides information about serial number, 
server type etc., but there is no way to ask the server for that specific 
information. The only way for me to do it would be to check the running 
services from another VO program which is supposed to run on the server as 
well.

Any help is highly appreciated!

Stefan 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Accessing WMI objects Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2019-12-06 03:07 -0800
  Re: Accessing WMI objects "Jamal" <nospam@example.com> - 2019-12-07 00:11 -0500
  Re: Accessing WMI objects Steve <steven_emmett@yahoo.co.uk> - 2019-12-07 01:35 -0800

csiph-web