Crikey, you are about ready for a mid-life crisis then. Instead of a Porsche you could buy some really expensive Italian shoes... ;) regards, Paul Watson Ireland Feed Henry! K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!
Something is better than nothing. In the destructor, I used this hack. try { m_pPlayer = NULL; } catch(...) { } Instead of m_pPlayer->Release(). Ok, I know this is real bad code, but it seems to work. The release version does not crash, neither does debug version. HeHe. this is this.
peterchen wrote: If money ain't your boss, you won't be on top of the management chain. Yeah Money can be driving force behind everything but NOT everything!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
I found the solution. Create an atl com project. Insert "Internet Explorer Object". Do the usual stuff for a BHO. Implement two methods: Invoke() and SetSite(). Then in Invoke, capture the DISPID_NAVIGATECOMPLETE2 event. This runs when user has just changed from one location to another. Find the new location. If it is a local drive etc, then we have it. It does not catch the folder expand, but does catch the event when a folder is opened even in the tree view of explorer. Thanks for reading.
khan++ wrote: I understood my own code finally. That's probably a good thing :-D -- My name in Katakana is ヨルゲン. My name in German is Jörgen. My name in Mandarin/Kanji is 乔尔根 西格瓦德森. My name in Korean is 요르겐. I blog too now[^]