Subject Re: Access to UDF library "xxx.DLL" is denied
Author Steve Harp
--- In, Helen Borrie <helebor@t...>
> At 01:26 AM 4/08/2005 +0000, you wrote:
> >--- In, "Adam" <s3057043@y...> wrote:
> > > Steve,
> > >
> > > Have you modified the Firebird.conf (in particular UdfAccess =
> > > If so, remember that you will need to restart the service for
> > > to take affect.
> > >
> > > You obviously need to give the user firebird runs under execute
> > > permissions to that file in Win2003, but I didn't think XP had that
> > > fine grain of security.
> > >
> >
> >This is my development machine. Every user on the machine has
> >administrative priviledge. I wouldn't know how to assign priviledges
> >to a specific file.
> It's not applicable, anyway, unless you actually installed the
service so
> that it is started by a different user than the installation default -
> localsystem - which, under WinXP, has more powers even than
> >As I mentioned in my previous message, UdfAccess is commented out (and
> >has always been that way). No changes have been made to the conf
> >file. I did restart the server and that didn't help.
> If you are running the client and the server on the same machine, it's
> possible your system won't see the effect of the addition of the new
> lib until next time you reboot the machine. I don't know why this
> be, but I've seen it occur with a stand-alone XP setup.
Rebooting the machine had no affect. I still get the message, "Access
to UDF library "XpressUDF.DLL" is denied by server administrator".
Any other ideas? Is there anything special I have to do in Delphi
other than just create a normal DLL? In Delphi, the function is
defined like this:

function MyFunc(var iNum : Integer) : PChar; cdecl;

It is also exported from the main project (DPR) file.