Re: Reading the System Registry

2012-11-07 Thread Andre van Zuydam
I would agree with Cameron, you need to have a look into Manifests with
Delphi, depending on the version you use the default manifests do not work
properly from Vista and up.


On Tue, Nov 6, 2012 at 3:16 AM, Cameron Cole came...@cameroncole.comwrote:

 Try running the app in Administrator mode. It could be that Delphi is
 already running that way and when it spawns your application as a process
 that process is inheriting Delphi's rights. Just a guess though.


 On Mon, Nov 5, 2012 at 7:12 PM, K2RFP rn...@verizon.net wrote:

  I'm writing a little program that includes a procedure
  to enumerate the com ports by reading from the registry
  at HKey_Local_Machine\Hardware\**DeviceMap\SerialComm.
 
  The procedure works fine from the IDE but when the program
  runs outside the IDE I get nothing found.
 
  Why, and how do I work around that?
 
  __**
  Delphi-Talk mailing list - Delphi-Talk@elists.org
  http://lists.elists.org/cgi-**bin/mailman/listinfo/delphi-**talk
 http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
 
 __
 Delphi-Talk mailing list - Delphi-Talk@elists.org
 http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk




-- 
http://spiceware.co.za
__
Delphi-Talk mailing list - Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk


Re: Reading the System Registry

2012-11-06 Thread Cameron Cole
Try running the app in Administrator mode. It could be that Delphi is
already running that way and when it spawns your application as a process
that process is inheriting Delphi's rights. Just a guess though.


On Mon, Nov 5, 2012 at 7:12 PM, K2RFP rn...@verizon.net wrote:

 I'm writing a little program that includes a procedure
 to enumerate the com ports by reading from the registry
 at HKey_Local_Machine\Hardware\**DeviceMap\SerialComm.

 The procedure works fine from the IDE but when the program
 runs outside the IDE I get nothing found.

 Why, and how do I work around that?

 __**
 Delphi-Talk mailing list - Delphi-Talk@elists.org
 http://lists.elists.org/cgi-**bin/mailman/listinfo/delphi-**talkhttp://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

__
Delphi-Talk mailing list - Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk


Reading the System Registry

2012-11-05 Thread K2RFP

I'm writing a little program that includes a procedure
to enumerate the com ports by reading from the registry
at HKey_Local_Machine\Hardware\DeviceMap\SerialComm.

The procedure works fine from the IDE but when the program
runs outside the IDE I get nothing found.

Why, and how do I work around that?

__
Delphi-Talk mailing list - Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk