Re: Compiling DLL & Vista: Follow up




"Kevin Provance" <casey@xxxxxxxxxxx> wrote in message
news:Om2H23UXHHA.1388@xxxxxxxxxxxxxxxxxxxxxxx
Well Mike...if you remember, I'm the type of guy who will just forcus on a
problem until I've got it fixed and everything else be damned (minus my
son,
of course). I've been studying Vista all day. MSDN, newgroups, Google,
you
name it and I think I'm starting to get a grasp on the monster I am up
against, and it ain't pretty.

Apparently, running as an Admin or setting a program to run as Admin will
encourage the UAC prompt, where as running as a standard user won't (ass
backwards, ain't it?) The more privlidges you give yourself, the more
prompts you get.

The biggest problem I've found in my cool little registry hack to register
and unregister ActX DLLs and OCXs by double-clicking on the given file
won't
work with Vista because one cannot set regsvr32 to run ad admin. The file
prevents it (hard coded that way I am guessing). So, to properly register
all the ActX stuff requires loading it up and compiling...which becomes
tedious after awhile. Because I keep all my code on the XP box and load
my
code via the network I had to set sharing privlidges on XP to accomodate
the
Vista box. I'd hate to have to have two separate code bases, one on each
box to work off of, so for now that's how I'm doing it.

Try reading the Vista newsgroups....lots of complaining about the UAC.
Ultimately I will shut it off, but for now I am running with the least
privlidges as to ensure a properly running program as most users will
ultimately be running the same. Provided things go well under those
settings, being an Admin should be a breeze.

So yeah, Vista is really picking about ActiveX, registry writing and file
writing. The Developer Best Practices and Guidelines for Applications in
a
Least Privileged Environment artivle is a real help and worth reading.
:-)

- Kev

<snipped>

Just another OT comment to let you know you are not alone.

I'm also having to fight it out with UAC - which is somewhat embarressing as
I, after piddling with pre-released versions of Vista, avowed quite loudly
in this group and at work that I would absolutely nothing to do with Vista
until at least SP2. <insert sound of someone eating crow>

The new 'security' features of Vista are of interest to my client because
they have dozens, if not hundreds, of projects/programs developed over the
years - each with their own slight variations on where to put things etc.
There have been multiple attempts to apply single enterprise-wide solutions,
but like all such schemes are dependent on voluntary adoption of
conventions. The idea that the OS would enforce a De Facto standard has
appeal.

Or so the theory goes. <g>

Problem is there doesn't seem to be any "De Facto" standard. Or rather I am
having trouble seeing one. (I see the swatches and recognize the various
stitches, but can't quite see the quilt.) The 'fixes' are as ad hoc and
diverse as the original conventions we are seeking to resolve. Also as I put
a pencil to it, adopting to UAC ain't going to be cheap. If we turn it off,
what was the point of going there in the first place?

Meanwhile, the UNIX crowd are ROFLTAO!

-ralph


.



Relevant Pages

  • Re: I turned off UAC
    ... Vista users about virus or malware issues, not like you see on XP. ... I would rather have it enabled so that I am not on the Internet with full admin rights, like the previous versions of the NT based O/Swhich are open by default O/Sand wide-open to attack/compromise by default. ... The out of the box admin account on Vista that is given to a user or any subsequent admin account that is created on Vista with UAC enabled is NOT a full-rights-admin account. ...
    (microsoft.public.windows.vista.general)
  • Re: Run As Adminstrator - why hasnt it saved us?
    ... UAC and Run As Administrator are tied together on Vista and are the new security profile for the Admin and Standard user accounts. ... You set your account to be Super Admin so that you still have UAC enabled because some applications will not work correctly with UAC off, those applications using the Vista UAC manifest as an example, and by being Super Admin, UAC will not prompt you as Super Admin, as stated in the link. ...
    (microsoft.public.windows.vista.security)
  • Re: I turned off UAC
    ... Vista users about virus or malware issues, not like you see on XP. ... I would rather have it enabled so that I am not on the Internet with full admin rights, like the previous versions of the NT based O/Swhich are open by default O/Sand wide-open to attack/compromise by default. ... The out of the box admin account on Vista that is given to a user or any subsequent admin account that is created on Vista with UAC enabled is NOT a full-rights-admin account. ...
    (microsoft.public.windows.vista.general)
  • Re: I turned off UAC
    ... Five Misunderstood Features in Windows Vista ... The User Access Control (UAC) can detect rootkits before they ... full-rights admin like on XP. ... The admin-user is only a user with Standard user rights, ...
    (microsoft.public.windows.vista.general)
  • =?utf-8?Q?Re:_Vista_problems_reading_writi?= =?utf-8?Q?ng_the_registry_=C3=83=C2=A2=C3=A2=E2
    ... I have turned UAC off and that solved the problem for the moment. ... But if I have understod this right I need to move my use of the registry to HKCU. ... Much has been tightened down in Vista. ... It does not allow my app to write to the ...
    (microsoft.public.fox.programmer.exchange)