wierd compiling error

ok heres whats happening to my code.

I have two encoders, an internal timer and modified Kevin watson’s camera code. and when I try to compile this code it goes through the motions and when it goes to compile a file that we are using to hook into the user_routines / user_routines_fast it pops up with an error saying that “This application has requested the Runtime to terminate it in an unusual way.” it then says that the build failed.

does any one know anything about this type of error?
and where I can even start to fix this problem??

First off, what do you mean by this? Is it a file that you #include in user_routines.c? Or something more unconventional?

Second, is this an error that MPLAB pops up, or is it written by the compiler/linker to this console? If you can’t tell, paste the console output (the place it usually says ‘BUILD SUCCEEDED’ or something like that) here on CD.

Good luck,