Line Number macros to use in output of Message Box?
-
I'd like to configure MessageBox(myMsg, myTitle, MB_OK); so that myMsg contains the line number of the source file, I've already made it include the source file name, function and explanation, but it would be useful to be able to have it include the current line number using a macro in Visual Studio ? (I'm on ver 2005) so that as I change the source, the line number is always reported correctly during program execution tks if you can help Lee
-
I'd like to configure MessageBox(myMsg, myTitle, MB_OK); so that myMsg contains the line number of the source file, I've already made it include the source file name, function and explanation, but it would be useful to be able to have it include the current line number using a macro in Visual Studio ? (I'm on ver 2005) so that as I change the source, the line number is always reported correctly during program execution tks if you can help Lee