Debug Assertion Failed

Hello, i have the same problem as James. When i compiled my aplication I get the following message :
Debug Assertion Failed!
Program : name File : afxwin2.inl
Line : 140

Please someone tell me how to fix this problem.
I know that Etienne knows how to fix it but i did´nt find his reply so please explain again.

Edgar's picture

hate to bother you but could you please tell me how I found this afxwin2.inl line errors?

Thank you so much for your help.