المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How can I read all files from 'Recent File List' ?



C++ Programming
06-19-2011, 07:43 AM
I try to read all files ( path files ) from 'Recent File List' from registry , and I failed ... I try with RegEnumValue function , but this give me string values ( File1 , File2 etc. ) not path of this files... I read RegEnumValue remarks and I see that somehow , with LPBYTE lpData parameter I could have string values , but I have no ideea how to convert LPBYTE to CString or char ... and Google didn't help me ( I didn't find a sample appropiate to my request ) ... can you help me , please ... maybe you have front with this problem ... Thank you.