<p>Am 15.03.2017 13:56 schrieb "LacaK" <<a href="mailto:lacak@zoznam.sk">lacak@zoznam.sk</a>>:<br>
><br>
> Dňa 15.3.2017 o 12:54 Yury Sidorov napísal(a):<br>
><br>
>> On 3/14/2017 4:47 PM, Ladislav Karrach wrote:<br>
>>><br>
>>><br>
>>>> Did you try this:<br>
>>>> function ippiThreshold(pSrcDst: PIpp8u; srcDstStep: int;<br>
>>>> roiSize: IppiSize; thresholdLT: Ipp8u; valueLT: Ipp8u;<br>
>>>> thresholdGT: Ipp8u;<br>
>>>> valueGT: Ipp8u): IppStatus; external 'ippi.dll' name<br>
>>>> 'ippiThreshold_LTValGTVal_8u_C1IR';<br>
>>>> You should use<br>
>>>> objdump -p ippi.dll<br>
>>>> to get the names of the exported procedures/functions.<br>
>>><br>
>>> Yes I know, this work: external 'ippi.dll' (I have added also "stdcall")<br>
>>> But my question was regarding how to staticaly link provided libraries<br>
>>> into my EXE (so I do not want distribute also all DLLs)<br>
>>> Just like one can do it in C/C++<br>
>><br>
>><br>
>> Yes, you can statically link a COFF library created by other compiler.<br>
>><br>
>> Use objdump as explained earlier to find out the name of ippiThreshold function in the static library. It may be prefixed with "_".<br>
><br>
> But does it works also on Windows ? (as far as I does not have "objdump" utility there?)<br>
> L.</p>
<p>objdump is distributed as part of a FPC or Lazarus release.</p>
<p>Regards,<br>
Sven</p>