From: | David Hoksza <david(dot)hoksza(at)seznam(dot)cz> |
---|---|
To: | Magnus Hagander <mha(at)sollentuna(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: using dll in am |
Date: | 2006-04-23 18:42:20 |
Message-ID: | 19110254985.20060423204220@seznam.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | David Hoksza | 2006-04-23 19:10:23 | Re: using dll in am |
Previous Message | Bruce Momjian | 2006-04-23 18:30:51 | Re: Additional current timestamp values |