Shell Extension for context menu
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I am trying to write a shell extension in C#, which shows an item in right-click context menu in explorer. But all examples which I try contain a lot of code and doesn't show anything (i assume I do something wrong, or don't do some important step :) ) Many examples have static methods:
[System.Runtime.InteropServices.ComRegisterFunctionAttribute()]
static void RegisterServer(String str1)[System.Runtime.InteropServices.ComUnregisterFunctionAttribute()]
static void UnregisterServer(String str1)Should i call them, or they will be called automatically? Does anyone have any ideas, or maybe knows any libraries/classes for that, where I can just call something like *.RegisterContextMenu(myMenu).. and ready :) ?