Adding custom infos when building an application ?
-
Hi I do use Visual C++ 6 on Win2000 and WinNT4 and have an MFC application in development in which I want to add some custom informations at its compilation. Those informations should/could be the date, time, the current user and the current computer the application is compiled on. They should later be seen in the AboutBox dialog of the application itself. Furthermore I do want this infos only in this application, not in all my other ones (a lot of the build number increasing tools/addins always apply to all my applications - I don't want that). To even excess that I do use SourceSafe for this application so me and my work-mates can work together on it. Is this possible? Thanks in advance for answers, Matthias
-
Hi I do use Visual C++ 6 on Win2000 and WinNT4 and have an MFC application in development in which I want to add some custom informations at its compilation. Those informations should/could be the date, time, the current user and the current computer the application is compiled on. They should later be seen in the AboutBox dialog of the application itself. Furthermore I do want this infos only in this application, not in all my other ones (a lot of the build number increasing tools/addins always apply to all my applications - I don't want that). To even excess that I do use SourceSafe for this application so me and my work-mates can work together on it. Is this possible? Thanks in advance for answers, Matthias
For date and time use the __DATE__ and __TIME__ macros. Not sure how to help you with USER and MACHINE NAME yet. Kind regards, Tim