Sample plugins needs update?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Aleksio
Junior Member
Junior Member
Posts: 36
Joined: 2005-05-17, 10:06 UTC

Sample plugins needs update?

Post by *Aleksio »

Hi,

1. tried the sample WLX plugin in VS 2019 - I had to manually add 64-bit confiration and then it cannot compiled.
Probably, it's time to update sample plugins (WLX, WFX, ...) for VS 2022 ?

2. I had success with ChatGPT generating one-time applications (using PySide6 for Qt6 UI), bookmarklets; others had success with generating Google Chrome extensions.
But I failed to generate a simple working WLX64 plugin using ChatGPT. Maybe we can have some instructions / prompt to do that? A couple of updated guides might help in future too.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50937
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sample plugins needs update?

Post by *ghisler(Author) »

The latest I have is VS 2017, and it worked fine there after conversion and changing the SDK.
Try this:
1. Get this project file:
https://plugins.ghisler.com/content/wdx_filesys_project.zip
2. Open the project properties
3. Choose an installed platform toolset
4. Click OK
5. Open the project properties again
6. Choose an installed Windows SDK version
7. Click OK
Author of Total Commander
https://www.ghisler.com
Aleksio
Junior Member
Junior Member
Posts: 36
Joined: 2005-05-17, 10:06 UTC

Re: Sample plugins needs update?

Post by *Aleksio »

In "LS-Plugin Guide 2.12":
it looks like a bug - "(ShowFlags & lcp_forceshow==0)" is evaluated as "(ShowFlags & (lcp_forceshow==0))", i.e. wrong operator precedence assumed.
Post Reply