Hi,
how can I translate this C++ code in VB code?
I need the function to read informations from a PROFIBUS card out. The card is in my PC.
definition of the code:
Data structure:Code:short DevGetBoardInfo (unsigned short usDevNumber, unsigned short usSize, void *pvData);
How can I call the function in my program?Code:typedef struct tagBOARD_INFO{ unsigned char abDriverVersion[16]; struct { unsigned short usBoardNumber; unsigned short usAvailable; unsigned long ulPhysicalAddress; unsigned short usIrqNumber; } tBoard [MAX_DEV_BOARDS]; } BOARD_INFO;
Thanks for your help!!


Reply With Quote