interesting error

B

brianlanning

We have some rather complicated c++ code that performs some
mathematics. I ported this from unix into c++.net. I plan to call
this from a c# application. The old application had a while(true)
type loop in the main that did stuff. I created a static function in
the c++ dll that contains the meat of the main loop. The idea is to
call this in the main loop of the c# program. So I have a timer set
up to run in c# that calls the c++ static function 10 times a second.

When I step through the c# and c++, it all appears to work. But when
I set it loose, it opens several dozen dialog boxes all saying the
same thing, about one a second. They say this:

Debug Error!

Program: blablablabla.exe

This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team (ha! me!) for more
information.

(Please Retry to debug the application)
Abort, Retry, Ignore

Obviously, I'm not looking for a "your keys are behind the couch" type
of answer. But I have no freaking idea how to debug this. Can anyone
tell me what the real meaning of this error message is? I had to link
my c++.net dll with msvcrtd.dll to get it to link. So it's logical to
think that the error is coming from there. The application isn't
shutting down when this happens. Any ideas?

brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top