?Jeremy's suggestion worked fine. Start Delphi by right click icon and select "Run as Administrator" hey presto debugging works. I should have thought of that, but I didn't so thanks.
John -----Original Message----- From: David O'Brien Sent: Wednesday, February 09, 2011 2:16 PM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Debug Windows 7 UAC Just as a silly thought, why not run the proggy external to the IDE and attach to the process? Haven't tried this for a long, long time, but it may work... -----Original Message----- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 9 February 2011 12:24 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Debug Windows 7 UAC ?Trying to debug a problem in a program that requires elevation - (it copies exe files from an update to a working folder). I cannot run hence debug it in the IDE, are there any ways to debug such a program? I want to step through it to see where the access violation is. Windows 7/D2007 John _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe