Subject | Re: 'module name or entrypoint could not be found' - but dll exports this function! |
---|---|
Author | vincent_kwinsey |
Post date | 2008-03-03T13:56:03Z |
OK - I managed to resolve this issues. I generated ib_util.lib with
C++ Builder implib utility (with option -a) and then linking was OK.
Now I have dll that can be used on server. So - the conculsion is -
one should link against Firebird lib files and ib_util.lib can be
generated from existing lib_util.dll, however - it is a bit confusing
that ib_util_ms.lib exists, but ib_util.lib does not.
--- In firebird-support@yahoogroups.com, Vlad Khorsun <hvlad@...>
wrote:
C++ Builder implib utility (with option -a) and then linking was OK.
Now I have dll that can be used on server. So - the conculsion is -
one should link against Firebird lib files and ib_util.lib can be
generated from existing lib_util.dll, however - it is a bit confusing
that ib_util_ms.lib exists, but ib_util.lib does not.
--- In firebird-support@yahoogroups.com, Vlad Khorsun <hvlad@...>
wrote:
>for
> > 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
> > udf libraries - i.e. /UDF unders installation directory. Thisshould
> > not be the configuration issue, because all has worked OK withthe
> > previous version of dll.receievd
> >
> > 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
> > error message, that ib_alloc_mem cann't be resolved - so - whythere
> > is ib_util_ms.lib for Microsoft build utilities and noib_util.lib
> > for Borland C++ build utilities)... So - what should be thecorrect
> > action in this case?use
>
> You need to find how to link againts ib_util.dll. If you can't -
> dynamic loading.raised by
>
> Note, 'module name or entrypoint could not be found' error is
> Firebird also if it can't load module because this module haveunresolved
> dependencies. IIRC, Borland C++'s dlls have some dependency from
> Borland's run-time support libraries.
>
> Regards,
> Vlad
>