Since you are on windows, install the CRT hooks, or just attach a debugger, set break on access vio, and see where it fires. strcpy, check the stack and see how you got there. Treat the cause, not the symptom. It is probably easier and more cost effective, and it is the right thing to do.
N
nfleming
@nfleming