How can I solve common language runtime problem?

  • Thread starter Thread starter Ajith Nair
  • Start date Start date
A

Ajith Nair

Dear Friends,

How can I solve common language runtime problem?

After I install my software, when I start the executable file its showing "Application has generated an exception that could not be handled.". But it happens only in some machines.

Expecting your reply,

B Regards
Ajith
 
Ajith said:
After I install my software, when I start the executable file its
showing "Application has generated an exception that could not be
handled.". But it happens only in some machines.

Sounds like you are corrupting the stack or something similar. The best
course of action will take work: you need more robust error checking.
You should go through all of the methods and work out the expected input
values and put Debug.Assert for each at the begining of your code. Also
do asserts on the return values. These will help you while you are
debugging, but you should also do checks for the release build and throw
appropriate exceptions.

Richard
 
Back
Top