I am getting strange error code -17502 in Teststand when returning from CVI function to Teststand. CVI function uses C++ dll and works fine until it returns to Teststand. I debugged the code in C++ and got these lines in debug window:
First-chance exception in SeqEdit.exe (CADAPTERSHARED.DLL): 0xC0000005: Access Violation.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in SeqEdit.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xA00 has exited with code 0 (0x0).
It seems that the error comes from CADAPTERSHARED.DLL. Does anyone know why it happens? I checked that CADAPTERSHARED.DLL is some Teststand dll.
Kind regards, Jarkko Peltonen