You still haven't answered my questions. Why?

Quote Originally Posted by dr.dran View Post
The joke is that if I compile for release the program compile wiwhout an error... grrrrrr
Why "grrrrrr"?
It is a standard behavior! ASSERT macro is ignored (it is designed to be ignored) in the Release build. Therefore you don't see any message box, although the same problem (as displayed in the message box in debug build) still exists.