Subject Re: 'module name or entrypoint could not be found' - but dll exports this function!
Author vincent_kwinsey
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 - here is
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.

--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...>
wrote:
>
> At 06:43 PM 3/03/2008, you wrote:
> >Hi,
> >
> >I have this problem: I have compiled dll with the same name and
the
> >same functions similar to dll what I already have, but when I put
this
> >on server, then I receive 'module name or entrypoint could not be
> >found' for any function that I have tried to test in the new dll.
Well -
> > when I am using the old dll, then all is OK.
> >
> >I tried to look on exports from both dll, e.g. using DllExp from
> >Nirsoft - and I can observe, that function names and ordinal
values are
> >the same for both dll's (old and new), beut the address and
relative
> >addresses are different (slightly). Well - is this difference the
cause
> >of my error. I guess - no, but it is cause - how can I control
this in
> >my C++ code?
> >
> >Well - is any other things that I can check to resolve 'module
name or
> >entrypoint could not be found'?
>
> Could you show us what the declarations in your database look like
for your new functions?
>
> ./heLen
>