Does anyone know if there is a way to get a contant defined to whatever line of code it gets referenced on in Visual C++, and also maybe a constant defined to the name of the file the code is in (although this could easily be done manually...)? I thought this might be something usfull to have to pass to debug functions.