I've worked with a number of those .cpp errors. I can try to help you out if you'd like.
1) Exactly when do you get the error? What is your application doing and at what point does this occur?
2) What line number is the error coming from?
3) If you build a small version of this VI, does it still exhibit the same behavior?
Let me know these things when you get a chance and we can work on this.
J.R. Allen