Tutorial :calling IUrlHistory when explorer is not running?



Question:

Calling for example IUrlHistoryStg seems to access the memory-mapped version of index.dat which is held by Explorer.

Could this API ever possibly work without Explorer running? (but with the user logged-on which is necessary as this API only works for the calling user)


Solution:1

When you create the UrlHistory object, it will load the file on demand (and create a cached version in a global for your process). If you can get this interface (either through CoCreate or QueryInterface) then you're good to go.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »