06-23-2014 08:19 AM
Hi,
I'm attempting to use the import shared library function to integrate the Keyence SI-F displacement sensor.
I have the DLL files and relevant header files, however am getting errors on the function I wish to use (SIIF_GetCalcDataSingle () ).
The import only works for 9 of the 172 functions listed. Any help getting the import to work for the function named above is much appreciated!
The errors seen are:
EXP RC WINAPI SIIF_GetCalcDataSingle(IN int OutNo,OUT SIIF_FLOATVALUE_OUT * CalcData);
Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
DECLSPEC_IMPORT;MAKEWORD;MIDL_PASS;SIIF_EXPORTS;UNICODE;WIN32;_WIN64;__cplusplus;
The following header file was not found in the specified header file or one of the referenced header files:
- pshpack4.h
- windows.h
- qos.h
- poppack.h
To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list.
DLL and header files attached.
Thanks,
Marc
06-27-2014 10:56 AM