Re: Application permissionsPosted by Gary Wakerley on December 30, 2003 at 16:38:04: In Reply to: Re: Application permissions posted by webmaster Guido on December 29, 2003 at 19:46:01:
: : I have developed an application that works fine when I use it with administration privileges. When I deploy it to user it does not work. When I use runas with administrator rights it is ok. : This indicates that the program wants to access something that the "user" is not allowed to, such as accessing a part of the network, a folder, reading or writing a file,... : The best approach is working step by step: what is the user not allowed to do that might block the program? : Another approach might be to disable big parts of the code, until it works; put parts between comment characters like this: : (* This part is disabled for debugging : When the app works for a "user", re-enable smaller parts of the code, until you find what access is causing the problem. Finally, give the user extra privileges. Hi Guido Thanks for your help. I am using a dll for storing external functions which are reuseable. I think this is the problem area. Can you think why this will not work?
[ DelphiLand: free Delphi source code, tips, tutorials ] |
|