alaphate Posted July 26, 2012 Share Posted July 26, 2012 Compare these tow messageboxs:MessageBox(0, 0, 0, 0);andMessageBox(0, 0, "", 0);The captions of them are different.What's the reason? Link to comment
ghandi Posted July 26, 2012 Share Posted July 26, 2012 (edited) Passing a null string will actually pass the empty buffer, passing NULL as the parameter (0) causes the system to use a stock error title, if i recall correctly it is 'Error', which is inventive and descriptive all in one... Google is still our best friend for information like this...http://msdn.microsof...5(v=vs.85).aspxGhandi Edited July 26, 2012 by ghandi Link to comment
alaphate Posted July 26, 2012 Author Share Posted July 26, 2012 ghandi,Thank you!I should have looked up MSDN and read carefully.0=='\0' true'\0'=="" false0=="" false Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now