Subject Re: Access to UDF library "xxx.DLL" is denied
Author Steve Harp
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
> At 01:26 AM 4/08/2005 +0000, you wrote:
> >--- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...> wrote:
> > > Steve,
> > >
> > > Have you modified the Firebird.conf (in particular UdfAccess =
line).
> > > If so, remember that you will need to restart the service for
changes
> > > 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
Administrator.
>
>
> >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
UDF
> lib until next time you reboot the machine. I don't know why this
should
> 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.

Steve