VC feature pack final release!

Finally good news for MFC developers as Microsoft has made Visual C++ 2008 Libraries Extension Feature Pack Final Release! Available for download here. Informative video by Stephen T. Lavavej on TR1 release is here. I’m back in business, hip hip hurray! 😀 Some classes in TR1 that I am working on… shared_ptr – The most […]
Continue reading…

 

Recycle bin functions!

To query recycle bin information call ShQueryRecycleBin! An e.g. [sourcecode language=’cpp’]void GetchMeRecycleBinInfo() {    SHQUERYRBINFO RecycleBinInfo = { 0 };    RecycleBinInfo.cbSize = sizeof( RecycleBinInfo ); // Tell size of structure    VERIFY( SHQueryRecycleBin( _T( “C:” ), NULL ) == S_OK ); // Get recycle bin info // Display information    CString csRecycleBinInfo;    csRecycleBinInfo.Format( […]
Continue reading…

 

GetIconInfo caveat!

I had heavy resource leaks in my resource digger application with my resource leak detector showing ever increasing amount of bitmap handles! As a hint to me this was happening in my icon display function, but looking up the code I found nothing causing a leak. Analyzing closely I found that bitmap count was increasing […]
Continue reading…