I've took the WRAPI.DLL function library built with VC++ and have converted 3 header files into single unit. This unit contains
definitions for functions and data types.
I've started to test if my app will correctly use this function, however
it has failed with message :
The procedure entry point WRAPIEnumerateDevices could not be located in the dynamic link library WRAPI.dll.
Definition of function follows
function WRAPIEnumerateDevices (ppDeviceList : ppWRAPI_NDIS_DEVICE; plItems : pLongInt) : HRESULT; cdecl; external 'WRAPI.dll';
In main unit i call it with
hRes := WRAPIEnumerateDevices (@pDeviceList
If i add [ name 'WRAPIEnumerateDevices'; ] at end of function definition i get the same result.
If i add [ index 2 ] (i've checked, it's a correct index) app does not
load at all.
What am i doing wrong ?