# Possibility to use in C# program

**URL:** <https://forum.juce.com/t/possibility-to-use-in-c-program/3251>\
**Category:** Windows\
**Created:** [October 1, 2008, 2:27pm UTC](https://forum.juce.com/t/possibility-to-use-in-c-program/3251 "2008-10-01T14:27:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![errorist](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@errorist](https://forum.juce.com/u/errorist)\
**Post date:** [October 1, 2008, 2:27pm UTC](https://forum.juce.com/t/possibility-to-use-in-c-program/3251/1 "2008-10-01T14:27:46Z")

</div>

Hi,

I am building a C# audio application. It’s main purpose is triggering samples at intervals at a bpm. I’m currently using a multimedia timer, and I use FMOD for the sample playback. This works pretty well, but sometimes there is a small glithc (like fmod triggers the sample a tiny bit too late).

So, I’m looking for alternatives, and someone suggested Juce. Now, if possible, I would like to keep most of my application because it’s almost finished interface and feature-wise, plus I don’t know much C/C++.

So, would it be possible to compile Juce into a dll, which I would be able to call from within my application for audio (and possibly midi) stuff? Do you think this would be possible for someone without C / C++ knowledge?

Any suggestions would be greatly appreciated.

Thanks !

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 2, 2008, 10:43am UTC](https://forum.juce.com/t/possibility-to-use-in-c-program/3251/2 "2008-10-02T10:43:32Z")

</div>

It’s probably possible, but I’ve no idea how the interface between those languages works - it sounds messy!

---

<div class="post-metadata">

**Author:** ![errorist](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@errorist](https://forum.juce.com/u/errorist)\
**Post date:** [October 2, 2008, 8:51pm UTC](https://forum.juce.com/t/possibility-to-use-in-c-program/3251/3 "2008-10-02T20:51:14Z")

</div>

Thanks for your reply. I’m guessing it won’t be something I will be able to pull off - I’m actually an ActionScript and PHP programmer, with only basic C# knowledge and next to no C++ skills.

However, I don’t think it has to be messy. Fmod has a nice wrapper for C#, so why would it be messy to do it with Juce? In fact, I think there would be a market for it - if someone wants to do an audio app in C#, there are very few options available, and AFAIK none with VSTi support (I believe Juce has this, or am I mistaking?). Just something to think about 🙂
