To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 11131
11130  |  11132
Subject: 
Re: LDVIEW not working on Vista
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 3 Mar 2011 19:00:23 GMT
Viewed: 
29268 times
  
Thanks for your suggestions.  I want you to know that I really do appreciate
them.  I have some replies to them below.  (The replies, taken by themselves,
may imply that I'm being defensive, and that isn't my intention.)

In lugnet.cad.dev, Anders Isaksson wrote:
Travis Cobbs wrote:

Since he said it worked when launched from the installer,

This seems to indicate a problem with Win 7 write protection of the
"C:\Program Files" hierarchy, or the Registry.

Even if you are logged in as Administrator in Win 7, you are not running
with full Administrator rights, *unless* the program you're running has
"install", "setup", and some other combinations of letters that I don't
remember in its name! When starting from the installer, these rights are
inherited by the started program, but not when run in the normal way.

That may be true, but the installer I use (Inno Setup) claims that when it
launches program at the end of the installation, it strips the Admin rights from
the launched program.  (Older versions of Inno Setup didn't do this, and the
help specifically said to not include that option if the detected OS was Vista
or later.)


Right clicking the .exe and selecting "Run as Administrator" would be an
easy way to test this hypothesis.

I agree, and asked him to do so via e-mail.

I don't know which language has been used, but Delphi, for example is known
for using 'too much' access as default in the TRegistry.OpenKey call, which
will fail on Vista/Win 7, even if the key is requested for reading only.
This is easily changed (by the programmer) by specifying the exact access
rights that are needed, in the call.

I use C++.  However, all of LDView's registry access is (and has always been)
HKEY_CURRENT_USER.  Also, I personally have never had problems running LDView
with UAC enabled, including running it from Program Files.

I sent him a build from the current source code, and that build apparently isn't
crashing, so it appears that the problem may have been some kind of bug in
LDView that has either been fixed in my source code since LDView 4.1, or is
masked.

--Travis



Message is in Reply To:
  Re: LDVIEW not working on Vista
 
(...) This seems to indicate a problem with Win 7 write protection of the "C:\Program Files" hierarchy, or the Registry. Even if you are logged in as Administrator in Win 7, you are not running with full Administrator rights, *unless* the program (...) (13 years ago, 3-Mar-11, to lugnet.cad.dev)

9 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR