1, define external function types
TYPEDEF INT (DWORD DWVENDORID, DWORD DWDEVICEID, BOOL FUSEINT, INT NCARD); typedef int (* PCI7484AD) (Long HPLX, Bool Flocaladdr, Int Ch)
2, open the dynamic library file
m_pci7484dll = LoadLibrary ( "pci7484vc.dll"); if (m_pci7484dll == NULL) {return FALSE;} 3, interface functions obtained m_check = (pci7484check) GetProcAddress (m_pci7484dll, "pci7484check");
M_ad = (PCI7484AD) GetProcaddress (M_PCI7484DLL, "PCI7484AD");
4, release dynamic library
Freelibrary (M_PCI7484DLL);