You should try isolating whether the problem is the jtag library or CVI. Try commenting out places where you use the external libraries and see if you run into the same error so that you dont actaully use the libraries anywhere. If you are still seeing the error with all the library functions commented out, then this error might be occuring in the CVI runtime somewhere. The CVI runtime dll (cvirte.dll) is a release dll with no debug information included in it.
If this is the case, I'll need to know the sequence of actions that is needed to reproduce the problem. A simple application that I could build and run on my machine would really help to track down the problem.
Bilal
Bilal Durrani
NI