Delphi Service Application and FileExists(FileName) over network
Posted on 2003-10-23
I have a drive mapping to my Novell Netware Server and are able to locate a file and get the Date and Time stamp information from it using FileDateToDateTime(AFileHandle).
This works 100% With a plain Delphi Application , but for some reason or the other I cant seem to get it to work with a Service Aplication.
I looked at the different options in the Services applet regarding login because I thought the ServiceApp might not have enough rights. This did not solve my problem.
I did a test between a brand new serivce app and a traditional application and FileExists returns True in the Application but the service App returns false.
I pass a UNC path to the function, Like : \\10.10.0.7\sys\public\TheFile.html
Any reason WHY this does not work in a Service App.
Any pointers or Information would be greatly appreciated.