HI; Look at the code of follow //----------------------------------- #ifdef _DEBUG//<-----------------NO 1 #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif //----------------------------------- so In the debug mode you can capture the absolute path and In the release mode u capture the project directory instead of absolute path chuanke -- modified at 1:07 Friday 6th January, 2006
S
Sam Liang
@Sam Liang
Posts
-
__FILE__ macro -
Please help me. I want to create some tool windows in my main frame by VC++.net.you can go to http://www.csdn.net and to search it that you want