C++ bridge for C# plugins
- KRtek™
- Posts: 9
- Joined: 30 Mar 2008, 20:44
- Location: Brno
- Contact:
C++ bridge for C# plugins
https://github.com/OpenSalamander/salam ... ssions/178
I find it easier to write the plugins in C#...
Example plugin that hosts managed WinForms C# .NET application.
PR: https://github.com/OpenSalamander/salamander/pull/177 or branch: https://github.com/KRtkovo-eu-AI/salama ... emo_plugin
Example of the usage - Json Viewer plugin: https://github.com/KRtkovo-eu-AI/salama ... nViewerNET (which is refactored this application: https://github.com/KRtkovo-eu/JsonViewe ... Salamander )
I find it easier to write the plugins in C#...
Example plugin that hosts managed WinForms C# .NET application.
PR: https://github.com/OpenSalamander/salamander/pull/177 or branch: https://github.com/KRtkovo-eu-AI/salama ... emo_plugin
Example of the usage - Json Viewer plugin: https://github.com/KRtkovo-eu-AI/salama ... nViewerNET (which is refactored this application: https://github.com/KRtkovo-eu/JsonViewe ... Salamander )
Last edited by KRtek™ on 28 Sep 2025, 22:15, edited 1 time in total.
KRtekTM, KRtek™
Re: C++ bridge for C# plugins
Nice! Is it compatible with AS 4.0?
Sorry, but I can't see images.

Sorry, but I can't see images.

- KRtek™
- Posts: 9
- Joined: 30 Mar 2008, 20:44
- Location: Brno
- Contact:
Re: C++ bridge for C# plugins
The only thing that will block the currently compiled examples is this code which will require Salamander 5.0
https://github.com/KRtkovo-eu-AI/salama ... o.cpp#L108
C++ bridge for C# plugins could be used even for 4.0 and older, if plugin is compiled with that version set.
https://github.com/KRtkovo-eu-AI/salama ... o.cpp#L108
// this plugin is made for the latest Salamander version - check it if (SalamanderVersion < LAST_VERSION_OF_SALAMANDER) { // we block the older versions MessageBox(salamander->GetParentWindow(), REQUIRE_LAST_VERSION_OF_SALAMANDER, PluginNameEN, MB_OK | MB_ICONERROR); return NULL; }
C++ bridge for C# plugins could be used even for 4.0 and older, if plugin is compiled with that version set.
KRtekTM, KRtek™
Re: C++ bridge for C# plugins
Thanks.
Sooo, is there an AS 5.0 build with most of the AS 4.0 plugins ready for use?
Sooo, is there an AS 5.0 build with most of the AS 4.0 plugins ready for use?

- KRtek™
- Posts: 9
- Joined: 30 Mar 2008, 20:44
- Location: Brno
- Contact:
Re: C++ bridge for C# plugins
AD7 wrote: 03 Oct 2025, 19:06 Thanks.
Sooo, is there an AS 5.0 build with most of the AS 4.0 plugins ready for use?![]()
It's published: https://github.com/KRtkovo-eu-AI/salama ... ndarin-0.1KRtekTM on Github wrote:In one email I wrote to @janrysavy that I cannot guarantee 100% code quality in the features I started working on (as was shown by the slowdown in application startup after implementing tabbed panels), so I am inclined not to mix the original source code and changes prepared completely using artificial intelligence. That is why I decided to make a fork for brave users - it has bugs and it may take some time to fix them.
It will be called Open Salamander: Samandarin (samandarin is the natural toxin secreted by fire salamander, symbolizing a spicy, daring twist — just like my AI-crafted changes).

KRtekTM, KRtek™
Re: C++ bridge for C# plugins
Fine work.
Thanks.
--
That .PDB files (as jsonviewer.pdb) are not needed? Only for debug?
Thanks.
--
That .PDB files (as jsonviewer.pdb) are not needed? Only for debug?
Last edited by AD7 on 06 Oct 2025, 18:50, edited 1 time in total.
- KRtek™
- Posts: 9
- Joined: 30 Mar 2008, 20:44
- Location: Brno
- Contact:
Re: C++ bridge for C# plugins
Yeah just for debugging, it's possible that I didn't delete all of them when preparing the release (it was a little chaos
).

KRtekTM, KRtek™
Re: C++ bridge for C# plugins
And finally, an important question: Is it for daily use or just for testing? 

- KRtek™
- Posts: 9
- Joined: 30 Mar 2008, 20:44
- Location: Brno
- Contact:
Re: C++ bridge for C# plugins
Open Salamander: Samandarin remains an intentionally experimental fork—its AI-implemented features are actively evolving, may surface unexpected issues, and are best explored by advanced, adventurous users who can tolerate work-in-progress behavior.
But I am using it on daily basis.
But I am using it on daily basis.
KRtekTM, KRtek™
Re: C++ bridge for C# plugins
Thanks for clarifying.
---
BTW. One file (ZIP.SPL) is reported:
https://www.virustotal.com/gui/file/c52 ... 9071c0a091
---
BTW. One file (ZIP.SPL) is reported:
https://www.virustotal.com/gui/file/c52 ... 9071c0a091
- KRtek™
- Posts: 9
- Joined: 30 Mar 2008, 20:44
- Location: Brno
- Contact:
Re: C++ bridge for C# plugins
ok need to check that, there are no code changes in ZIP plugin.
KRtekTM, KRtek™