|
| | |||||||
| Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna |
| | LinkBack | Thread Tools |
| |||
| Possible bug in shell? Hi everyone, I'm developing a context menu shell extension. It is working properly in all previous versions of Windows. But Windows Vista (RTM) has a strange problem. If I declare my extension like class MyMenuExt : public IContextMenu3, public IShellExtInit { .... } everything runs smoothly, but in case class MyMenuExt : public IShellExtInit, public IContextMenu3 { .... } where IShellExtInit is declared first, shell32.dll raises an access violation exception after calling the Initialize method 8 times with garbage arguments. I'm pretty sure that my reference counting code (which is boiler-plate) and other parts of my class are error-free. After debugging several hours with WinDbg I could not figure out why Vista behaves this way. As I said, prior versions run the code without a glitch in both cases. I would appreciate if someone could give a reasonable answer. Can |
| |||
| Re: Possible bug in shell? i doubt this is the right ng for that. find some on programming for vista. "Pierre" <can.balioglu at gmx.de_DONOTSPAM_> schrieb im Newsbeitrag news:ONS57a$EHHA.4108@TK2MSFTNGP03.phx.gbl...[color=blue] > Hi everyone, > > I'm developing a context menu shell extension. It is working properly in > all previous versions of Windows. But Windows Vista (RTM) has a strange > problem. If I declare my extension like > > class MyMenuExt : public IContextMenu3, public IShellExtInit > { > ... > } > > everything runs smoothly, but in case > > class MyMenuExt : public IShellExtInit, public IContextMenu3 > { > ... > } > > where IShellExtInit is declared first, shell32.dll raises an access > violation exception after calling the Initialize method 8 times with > garbage arguments. I'm pretty sure that my reference counting code (which > is boiler-plate) and other parts of my class are error-free. After > debugging several hours with WinDbg I could not figure out why Vista > behaves this way. As I said, prior versions run the code without a glitch > in both cases. I would appreciate if someone could give a reasonable > answer. > > Can >[/color] |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell help again | George | Linux | 3 | 04-18-2008 03:20 PM |
| Add Shell Folder? | John | Windows Vista | 5 | 03-05-2008 08:00 PM |
| Shell/User | Leigh | Windows XP | 2 | 08-20-2007 02:00 PM |
| Zip/Arj Shell integration | Francois | Windows Vista | 1 | 03-14-2007 07:45 PM |
| Autoplay shell | Hi Dee | Windows XP | 0 | 01-27-2007 06:30 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |