Subject | Re: 'module name or entrypoint could not be found' - but dll exports this function! |
---|---|
Author | vincent_kwinsey |
Post date | 2008-03-03T10:02:19Z |
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:
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:
>the
> At 06:43 PM 3/03/2008, you wrote:
> >Hi,
> >
> >I have this problem: I have compiled dll with the same name and
> >same functions similar to dll what I already have, but when I putthis
> >on server, then I receive 'module name or entrypoint could not beWell -
> >found' for any function that I have tried to test in the new dll.
> > when I am using the old dll, then all is OK.values are
> >
> >I tried to look on exports from both dll, e.g. using DllExp from
> >Nirsoft - and I can observe, that function names and ordinal
> >the same for both dll's (old and new), beut the address andrelative
> >addresses are different (slightly). Well - is this difference thecause
> >of my error. I guess - no, but it is cause - how can I controlthis in
> >my C++ code?name or
> >
> >Well - is any other things that I can check to resolve 'module
> >entrypoint could not be found'?for your new functions?
>
> Could you show us what the declarations in your database look like
>
> ./heLen
>