Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

i am building an application in MFC, in this i need to make a log of the printed files.If the user is giving any file for printing then i need to log the file name given for print.Kindly can any one guide me to do this.Thank you in advance
Posted

1 solution

Hi, in your CView oveeride of OnDraw or wherever your print is being started, use the Log4Net component.

log4Net logging framework[^]

hope this helps you out...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900