I have a windows 32-bit dll written in C++ (probably C++ Builder).
It has 1 function which I need to call:

int SPAPI_GetProduct(vector<SPApiProduct>& apiProdList)

I am stuck at the keyword vector.

How is it translated into free pascal?

Is the following correct?

type
   TSPApiProduct_Array = array of SPApiProduct;

function SPAPI_GetProduct(var apiProdList : TSPApiProduct);stdcall;

Thanks a lot in advance.

Dennis
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to