Re: using dll in am

Поиск
Список
Период
Сортировка
От David Hoksza
Тема Re: using dll in am
Дата
Msg-id 19110254985.20060423204220@seznam.cz
обсуждение исходный текст
Ответ на Re: using dll in am  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers
Yes, you got me right. I'm just trying the 2) and it doesn't work. So
I'll try the "depends" tool.
Thx,
David

________________________________
23. dubna 2006, 20:05:00, napsal jste:

>> 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:((

MH> If I get you right, you have *two* DLLs? One in mingw that in turn loads
MH> another one that's in VC++? If so, a couple of hints:

MH> 1) Run "depends" on the mingw DLL. It will list symbols that can't be
MH> resolved. "depends" is a part of the Windows Support Tools, on your
MH> windows CD.

MH> 2) Check that you can create a mingw *exe* that uses the functions in
MH> the VC++ DLL. If not, make sure that works first, because that should be
MH> easier to tweak.

MH> //Magnus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: using dll in am
Следующее
От: David Hoksza
Дата:
Сообщение: Re: using dll in am