Clap for Delphi #208
-
I do not know if anyone was able to create a clap plugin with Delphi. I am trying to and I am almost there. VAR n:integer; const n:integer=3; VAR n:integer=3; VAR clap_entry: Tclap_plugin_entry = exports clap_entry; // not possible.... What now ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can rename your clap_entry variable to plugin_entry, and then do this: var exports plugin_entry name clap_entry; begin |
Beta Was this translation helpful? Give feedback.
You can rename your clap_entry variable to plugin_entry, and then do this:
var
plugin_entry: Tclap_plugin_entry;
exports plugin_entry name clap_entry;
begin
plugin_entry.clap_version := CLAP_VERSION;
plugin_entry.init := entry_init;
plugin_entry.deinit := entry_deinit;
plugin_entry.get_factory := entry_get_factory;
end.