HydrogenAudio

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: Petoj87 on 2011-06-01 22:28:16

Title: Is there any way to write a .net gui component for foobar2000?
Post by: Petoj87 on 2011-06-01 22:28:16
Well the title more or less says it all im wondering if there is any way to write a gui component/plugin in .net for foobar2000? i have more or less no knowledge in c or c++.

what im after is making a GUI for foobar2000 in wpf as wpf makes it so easy to create cool and good looking gui......
Title: Is there any way to write a .net gui component for foobar2000?
Post by: klonuo on 2011-06-01 23:21:12
No there isn't, thanks god

Closest would be perhaps use of (problematic?) COM automation server component, thou not much offerings there
Title: Is there any way to write a .net gui component for foobar2000?
Post by: Petoj87 on 2011-06-02 00:09:07
Ok,    thanks for the fast response
Title: Is there any way to write a .net gui component for foobar2000?
Post by: Yegor on 2011-06-03 19:11:13
I managed to compile fb2k's SDK in C++/CLI once. And AFAIR the resulting component did execute some managed code but there was something wrong on the app's quit ­- it always crashed. So you can try to investigate it further. But I'm not sure it'll be a good decision.
Title: Is there any way to write a .net gui component for foobar2000?
Post by: Zao on 2011-06-15 15:49:48
It could be technically possible, but it would require a fair bit of C++ and CLR competence from you to wrap things enough to be usable. There might be some additional niggles for UI components in particular, as they're instantiated rather early.

foo_title has a shallow managed wrapper for parts of the API, which has worked in the past, but I'm unsure whether it's still feasible. I've never managed to implement it properly.