Giter VIP home page Giter VIP logo

w11contextmenudemo's People

Contributors

arieroos avatar bschoepke avatar xandfis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

w11contextmenudemo's Issues

Build is broken

1> Creating library D:\W11ContextMenuDemo\ContextMenuImplementation\bin\ARM\Debug\ContextMenuImplementation.lib and object D:\W11ContextMenuDemo\ContextMenuImplementation\bin\ARM\Debug\ContextMenuImplementation.exp
1>dllmain.obj : error LNK2019: unresolved external symbol __imp_PathRemoveFileSpecW referenced in function "public: virtual long __cdecl HelloWorldCommand::GetIcon(struct IShellItemArray *,wchar_t * *)" (?GetIcon@HelloWorldCommand@@UAAJPAUIShellItemArray@@PAPA_W@Z)
1>D:\W11ContextMenuDemo\ContextMenuImplementation\bin\ARM\Debug\ContextMenuImplementation.dll : fatal error LNK1120: 1 unresolved externals
1>Done building project "ContextMenuImplementation.vcxproj" -- FAILED.

Missing a .lib dependency and PathRemoveFileSpecW is deprecated anyways. I'll fix.

Duplicate context menu

Hi I notice there is a bug for context menu showing up under dhow more options as well as the the new windows 11 one any chance to fix this

Build is giving these errors

Severity Code Description Project File Line Suppression State Details
Error LNK2019 unresolved external symbol __imp_PathCchRemoveFileSpec referenced in function "public: virtual long __cdecl HelloWorldCommand::GetIcon(struct IShellItemArray *,wchar_t * *)" (?GetIcon@HelloWorldCommand@@UEAAJPEAUIShellItemArray@@PEAPEA_W@Z) ContextMenuImplementation C:\Users\gvvishwas\source\repos\W11ContextMenuDemo\ContextMenuImplementation\dllmain.obj 1

Severity Code Description Project File Line Suppression State Details
Error LNK1120 1 unresolved externals ContextMenuImplementation C:\Users\gvvishwas\source\repos\W11ContextMenuDemo\ContextMenuImplementation\bin\x64\Debug\ContextMenuImplementation.dll 1

Trying to hardcode submenus to my custom option in the context menu and trying to figure out if there are any other ways to package this whole thing and deliver

Hi,
Thank you so much for replying. Its really helping me a lot.
As a part of implementing the context menu , I was trying to figure out a way to just hardcode a few submenu options into the "Edit with Notepad" option that you gave created. Can you please help me modify your code so that I can achieve this.
And also is there any other way packaging and delivering this project without the application having to be packaged (app identity with a sparse manifest) and signed with a valid certificate.
Thank you

What to do after signing the package?

I followed the tutorial step by step but it seems that I'm missing something.
Do I have to install the MSIX package after signing it?
I didn't customize your code and I build it just after cloning it. I just set the debug configuration of "ContextMenuImplementation" to x64 because it was set to ARM and it was blocking the build.
image
If I try to install the package, I have to install the .pfx certificate, then I get a message error with code 0x80070032.

What should I do, then?

How to register for all users?

Hello,

the sample here uses PackageManager.AddPackageByUriAsync which regsiters the package per-user.
What's the way to do that machine-wide?

Can we display the context menu based on the file path?

Hi, Thank you so much for replying for my previous query.
Instead of hardcoding our custom option in the context menu, can we make our custom option appear on the context menu based the selected file's location/path. And then make the submmenus appear accordingly?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.