Same for me- there is just one program that gets UAC. It does not write to registry or program files. It does have Start in the name, but thats not it - because if renamed it still gets UAC prompt. It does however copy programs from a download folder into a working folder, so I agree with whoever said Vista looks at some heuristics inside the program - does anyone have a specific link for reading more? (Haven't found specific programmers guide yet)
John > > Just about all of my programs that used to run fine on XP also run fine in > Vista, look a bit prettier and don't generate UAC prompts. > > I'm guessing that your problem might lie in the way that you read the > registry. If you need to read something from HKLM, make sure that you > open > the registry as read-only. A TRegIniFile and other similar abstractions > of > the registry will (by default) want write access and cause a UAC prompt. > If > you only want to read values, make sure that you only ever open those keys > in the registry by explicitly specifying that you only want read access > and > your UAC prompts (might) go away. > > Trevor > _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
