Click to See Complete Forum and Search --> : Context Menu Handler


Markus_Karg
May 3rd, 1999, 04:19 PM
I am just about to write a context menu handler, but it won't work. I'm not that familiar with COM but I think COM is not the problem but more that I have misunderstood some description of IShellExtInit of IClassFactory. Fact is, IShellExtInit will be called, but not CreateInstance. So please, if there is someone out there who has written a Context Menu Handler: Would you please be so kind to take a look at my app. 100 lines of skeleton code? I think for you it's just one minute to tell me where I went wrong.
Thanks a lot!

Markus Karg

May 7th, 1999, 10:20 AM
IClassFactory is interface implimented on obj1.
IShellExtInit,IContaxtMenu need to be implemented in diffarent object say obj2
DLLCreateObject should uses obj1 to create obj2 by calling CreateInistance of obj1. i have implimente contextmenu. please send code to my address so i will tell the problum. email: manjunathG@hiso.honeywell.com