Re: using dll in am
От | Magnus Hagander |
---|---|
Тема | Re: using dll in am |
Дата | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCEA0F92A@algol.sollentuna.se обсуждение исходный текст |
Ответ на | using dll in am (David Hoksza <david.hoksza@seznam.cz>) |
Ответы |
Re: using dll in am
Re: using dll in am |
Список | pgsql-hackers |
> 5. Copy the dll to the bin directory (when I let it in the > contrib directory, where also the libatomrtree.dll file with > the AM functions is, so it writes out, that the modul can't > be found, when loading it). > > 6. When there is "void *header = f_header()" anywhere in the > source, so when trying to load the dll (when I try to create > the index), it writes out, that "function can't be found" (I > got czech version, so I'm not sure, what the message is in english). > > > Does anybody got any hint, where the problem could be? I > really can't find it:(( If I get you right, you have *two* DLLs? One in mingw that in turn loads another one that's in VC++? If so, a couple of hints: 1) Run "depends" on the mingw DLL. It will list symbols that can't be resolved. "depends" is a part of the Windows Support Tools, on your windows CD. 2) Check that you can create a mingw *exe* that uses the functions in the VC++ DLL. If not, make sure that works first, because that should be easier to tweak. //Magnus
В списке pgsql-hackers по дате отправления: