NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Reload prototype error with DLL

Hello,

 

I have a CVI based DLL with a function that I'm calling from TestStand. Here is the function prototype in C. 

 

int WriteToServer (struct component *pComponent, uint32_t dataToWrite[], int arraySize, char errBuf[SZERRBUF], uint32_t recieveBuf[SZRCVBUF]);

 

I have two different sequences that call this DLL function. When I fix the red prototype (!) issue in one sequence, then the other sequence shows the (!) icon and indicates there is a mismatch between the parameters and the prototype. The struct is being passed by reference and I have defined it using a custom data type.  The two sequences are calling the same function from the same DLL, but fixing one call then appears to break the other. I'm not sure why this is happening. Any advice? 

0 Kudos
Message 1 of 1
(1,019 Views)