* * *

Author Topic: win7 UAC and lazarus IDE  (Read 1900 times)

picstart

  • Full Member
  • ***
  • Posts: 154
win7 UAC and lazarus IDE
« on: May 24, 2011, 07:02:29 pm »
User Access Control UAC is a feature of Win7 like it or not. If you like it it is on without exception if you don't then when off  it's security value is gone completely. I believe you can't turn it on or off for specific programs and keep the permission permanent between runs of those specific programs.

 I have lazarus code interfacing with a microchip (PIC) device via usb that worked fine in winXP. There is a driver installed with an INF doing the GUID vidpid magic mystery stuff. Lazurus interfaces via a dll. It does not work (Win7) if I run it using  lazarus IDE run even though as a user I have administrator privileges. However as a user with administrative privileges and if I launch the lazarus 9.30 IDE using the drop down run as administrator it will work.

 Is there any other way or is there a better way to work with this often unpleasant UAC win7 pro issue?
« Last Edit: May 24, 2011, 07:07:17 pm by picstart »

avra

  • Full Member
  • ***
  • Posts: 232
    • Additional info
Re: win7 UAC and lazarus IDE
« Reply #1 on: May 25, 2011, 11:56:43 am »
Yes. Google around for TweakUAC.

picstart

  • Full Member
  • ***
  • Posts: 154
Re: win7 UAC and lazarus IDE
« Reply #2 on: May 25, 2011, 03:46:03 pm »
TweakUAC in silent mode takes 90% of the annoyance away. A more perfected design from Microsoft would have let Administrators grant permanent permissions at a program level.
Thanks

JPerez45

  • Newbie
  • Posts: 3
Re: win7 UAC and lazarus IDE
« Reply #3 on: July 18, 2011, 04:39:40 am »
I know most people who didn't pay attention to msdn about vista security and UAC won't know how to deal with it. Security is an issue most developers left to the end of the process, for that we must understand how UAC affects applications and for that this:
http://msdn.microsoft.com/en-us/library/bb756970.aspx
http://msdn.microsoft.com/en-us/library/bb384608.aspx

Now Delphi JWSCL deals with security issues in a fair way:
http://blog.delphi-jedi.net/security-library/

Yes, i know it sucks to have to add more code and all, but developers have to learn the ways of the target platform. On the plus side, we'll get confused at first, but later with some effort we'll know the tricks to make safe applications.
...or we can use the internet explorer safe zone trick.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads