By continuing to use this website, you agree with our
Cookie Policy
Confirm
RU
EN
Main Page
Download
Addons
Forum
Blog
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
News:
AIMP v5.40
AIMP Forum
»
AIMP for PC
»
Addons
»
Plugins
(Moderators:
Зелёный
,
Soolo
,
Tiger
) »
Provide a .TLB file (COM Type Library)
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Provide a .TLB file (COM Type Library) (Read 8546 times)
0 Members and 1 Guest are viewing this topic.
Provide a .TLB file (COM Type Library)
«
on:
July 18, 2020, 01:39:00 »
cubis123
Любопытный
Posts: 43
Карма: +40/-0
How are the plugin SDK COM interfaces done? What is AIMP written in anyway, I'm assuming Delphi based on the provided headers?
Would it be possible to export a .TLB file describing those COM interfaces?
(
http://docwiki.embarcadero.com/RADStudio/Rio/en/Working_with_Type_Libraries_Index
)
(
http://docwiki.embarcadero.com/RADStudio/Rio/en/GenTLB.exe
)
Right now to write plugins in C# you can either use a C++/CLI wrapper like aimp_dotnet does or directly use the COM interfaces.
The problem with using the COM interfaces is that you have to write all the binding manually, which is significant amount of work.
Visual Studio comes with a tool that can generate those bindings automatically based on a .TLB file though, so if one could be provided as a part of the SDK it would make a C#/.NET integration much easier and less error-prone.
Logged
Re: Provide a .TLB file (COM Type Library)
«
Reply #1 on:
July 19, 2020, 09:06:31 »
Artem
Администратор
Эксперт
Posts: 19545
Карма: +3154/-75
Thank you.I will check it
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
AIMP Forum
»
AIMP for PC
»
Addons
»
Plugins
(Moderators:
Зелёный
,
Soolo
,
Tiger
) »
Provide a .TLB file (COM Type Library)