Subject | Re: 'module name or entrypoint could not be found' - but dll exports this function! |
---|---|
Author | vincent_kwinsey |
Post date | 2008-03-03T11:24:03Z |
Note added - I am using Firebird 1.5 together with C++ Builder 6.
I checked point 3 - but there was not any improvement. I have
commented this config variable and I am using the default space for
udf libraries - i.e. /UDF unders installation directory. This should
not be the configuration issue, because all has worked OK with the
previous version of dll.
Well - there is one strange thing - my new dll I have tried to
compile with FB (not Interbase) includes and libs, but I have not
ib_util.lib available (I should use one from Interbase, from the
other hand - it I tried to compile without this lib, I have receievd
error message, that ib_alloc_mem cann't be resolved - so - why there
is ib_util_ms.lib for Microsoft build utilities and no ib_util.lib
for Borland C++ build utilities)... So - what should be the correct
action in this case?
I checked point 3 - but there was not any improvement. I have
commented this config variable and I am using the default space for
udf libraries - i.e. /UDF unders installation directory. This should
not be the configuration issue, because all has worked OK with the
previous version of dll.
Well - there is one strange thing - my new dll I have tried to
compile with FB (not Interbase) includes and libs, but I have not
ib_util.lib available (I should use one from Interbase, from the
other hand - it I tried to compile without this lib, I have receievd
error message, that ib_alloc_mem cann't be resolved - so - why there
is ib_util_ms.lib for Microsoft build utilities and no ib_util.lib
for Borland C++ build utilities)... So - what should be the correct
action in this case?
> --- In firebird-support@yahoogroups.com, Helen Borrie <helebor@>here
> wrote:
> >
> > At 09:02 PM 3/03/2008, you wrote:
> > >That's the point - I have not changed any declarations nor on
> server
> > >nor in the code of dll. I simply recompiled dll. But anyway -
> isconfiguration
> > >the example of one declaration:
> > >'/* External Function declarations */
> > >
> > >DECLARE EXTERNAL FUNCTION DEFAULTCURRENCY
> > >INTEGER
> > >RETURNS CSTRING(3) CHARACTER SET NONE FREE_IT
> > >ENTRY_POINT 'cDefaultCurrency' MODULE_NAME 'util_udfs';'
> > >
> > >This is our own library, not open source or so. It is confusing -
> one
> > >tool can see the exported functions (so - I guess - if I would
> write
> > >some test application, then could access functions as well), but
> > >Firebird server cann't see.
> >
> > 1. How is UDFAccess configured in firebird.conf?
> > 2. Is your library located in the same place as the
> says it should be?library
> > 3. Has the server been stopped and restarted since the new
> was uploaded and/or configured?
> >
> > ./heLen
> >
>