nextcloud / client_theming

:computer: Nextcloud themed desktop client - Moved over to https://github.com/nextcloud/desktop
GNU General Public License v2.0
198 stars 87 forks source link

How to customize OCContextMenu.dll #155

Open Delta-38 opened 7 years ago

Delta-38 commented 7 years ago

Hi, we are trying to add a second line to the Nextcloud Windows explorer context menu, this would work on the same paths as the standard context menu to trigger extra actions. However we are having a lot of trouble trying to add to the existing OCContextMenu dll and stuff. Specifically when we try to include OCContextMenu and OCCOverlay we get a registration error (No entry point found in dll).
We would have gladly extended the existing context menu, but given the curt programming style we are unsure how to add another entry in the existing menu. So we could also be happy with a few pointers to the functions we should change.

We had successfully compiled the basic OCShellExtension project but any attempt to use it's methods (By inclusion or reference) in our custom project we get Linker errors (We did include all source, headers, and output directories from OCShellExtension in the Linker source directories in Visual Studio but to no avail.).

Any help is appreciated :)

Thanks in advance, Paolo Manili