Posted July 26, 201213 yr Compare these tow messageboxs:MessageBox(0, 0, 0, 0);andMessageBox(0, 0, "", 0);The captions of them are different.What's the reason?
July 26, 201213 yr 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, 201213 yr by ghandi
July 26, 201213 yr Author ghandi,Thank you!I should have looked up MSDN and read carefully.0=='\0' true'\0'=="" false0=="" false
Create an account or sign in to comment