| |||||||
| Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna |
![]() |
| | LinkBack | Thread Tools |
| |||
| Error to get IThumbnailProvider object, who can help me?? When I used IShellItem::BindToHandler method to get IThumbnailProvider object, I got an error: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. My test environment: vs2005, c#, Windows Vista My code is: IShellItem pFileItem; Guid itemRiid = new Guid("43826d1e-e718-42ee-bc55-a1e261c37bfe"); SHCreateItemFromParsingName(file, IntPtr.Zero, ref itemRiid, out pFileItem); if (pFileItem != null) { IThumbnailProvider pThumbProvider; Guid riid = new Guid("66742402-F9B9-11D1-A202-0000F81FEDEE"); Guid bhid = new Guid("7b2e650a-8e20-4f4a-b09e-6597afc72fb0"); pFileItem.BindToObject(IntPtr.Zero, bhid, ref riid, out pThumbProvider); } |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error 429 : ActiveX component can't create object | Brad | Windows Vista | 9 | 03-16-2007 04:30 AM |
| ERROR: Could not create an ICertificate object & message 32 error | Pocket PC General | 3 | 01-15-2007 10:58 AM | |
| lsass System Error Object name not found | Tony Gravagno | Windows XP | 12 | 01-04-2007 06:16 AM |
| Windows System Error Object Name Already Exists | RebootKidFL | Windows XP | 0 | 01-04-2007 03:06 AM |
| ADOMD.Position Error Object is no longer valid | vipul.tankariya@gmail.com | Windows XP | 0 | 01-04-2007 02:08 AM |