hi, all,
I have a .dll and .h files provided by a third-party.
I am confuse how to import all functions from dll.
I post the code of .h file as bellows:
---------------DTAPI.h-----------------
#define DTAPI_API __declspec(dllexport)
typedef unsigned long DTAPI_RESULT;
class DTAPI_API DtDevice {
public:
DTAPI_RESULT AttachToType(int TypeNumber, int DeviceNo=0);
// Constructor, destructor
public:
DtDevice();
virtual ~DtDevice();
};
-------------------------------------
how to call function "AttachToType()" from dll in LabView?
:worship: thank you.