IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

 
Reply to this topicStart new topic
Is there any way to write a .net gui component for foobar2000?
Petoj87
post Jun 1 2011, 22:28
Post #1





Group: Members
Posts: 6
Joined: 1-June 11
Member No.: 91158



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......
Go to the top of the page
+Quote Post
klonuo
post Jun 1 2011, 23:21
Post #2





Group: Members
Posts: 258
Joined: 29-April 10
Member No.: 80274



No there isn't, thanks god

Closest would be perhaps use of (problematic?) COM automation server component, thou not much offerings there
Go to the top of the page
+Quote Post
Petoj87
post Jun 2 2011, 00:09
Post #3





Group: Members
Posts: 6
Joined: 1-June 11
Member No.: 91158



Ok, sad.gif thanks for the fast response
Go to the top of the page
+Quote Post
Yegor
post Jun 3 2011, 19:11
Post #4





Group: Developer
Posts: 251
Joined: 8-April 09
From: Russia, Zlatoust
Member No.: 68779



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.

This post has been edited by Yegor: Jun 3 2011, 19:13
Go to the top of the page
+Quote Post
Zao
post Jun 15 2011, 15:49
Post #5





Group: Members (Donating)
Posts: 908
Joined: 25-September 03
From: UmeŚ, Sweden
Member No.: 9001



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.


--------------------
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 21:30