[Lazarus] using a weird DLL

Sven Barth pascaldragon at googlemail.com
Mon Feb 1 07:52:35 CET 2021


duilio foschi via lazarus <lazarus at lists.lazarus-ide.org> schrieb am So.,
31. Jan. 2021, 23:23:

> I would like to use a function exported from a DLL. The DLL was written in
> C++ (Visual Studio 2015).
>
> Inside the original code the function is declared as
>
>         public bool GetSkinFeatures(Bitmap Input_Bitmap, Rectangle
> ROI_Rect, double[] ExtractedFeatures)
>
> Anybody knows how to use it from Lazarus?
>

Can you also show the declarations of Bitmap and Rectangle? Is the function
declared inside an "extern "C"" block?

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210201/c30596ef/attachment.html>


More information about the lazarus mailing list