Re: How to read from the Windows registry

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
penpal0andrew said...

I would like to know if a particular software package is installed on my computer, and if so, what is the path to it. My idea is to search and read the windows registry. I would appreciate any ideas of how to do this in Euphoria. Thank you.

There is probably a library in the archives for this, though I don't know of one offhand. Possibly win32lib already has this builtin.

If you want to do it the hard way, use dll.e to wrap http://msdn.microsoft.com/en-us/library/ms724897(VS.85).aspx, http://msdn.microsoft.com/en-us/library/ms724845(VS.85).aspx, etc (see http://msdn.microsoft.com/en-us/library/ms725488(VS.85).aspx for more examples).

I was thinking that the standard library needs a configuration file (config.e) that would write cross-platform configuration files using native backends. For instance, registry on Windows and a simple $HOME/.dotfile on Unix.

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu