Monir-SCS wrote: > LogonUser worked on Xp, but when I upload the code to the site, I got "'A > required privilege is not held by the client"
Told ya so. :) Are you in charge of the server, or is it managed by a hosting company? The server probably doesn't have all its default settings, partly to prevent people from installing software that can elevate its privileges and compromise the system. > The server is Windows 2000, even I run the code on local machine using > Windows 2000 pro. I got the same error message, any idea about the > situation? See what you can do about acquiring the SeDebugPrivilege. The article I linked to should have demonstrated the code for doing that. Depending on what's allowed on the server, the code still might not work. -- Rob ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

