Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > irrKlang
How to use it?
Author Text

Stanley
Guest
Quote
2016-02-10 12:34:10

Hello guys,

I would like to use irrKlang in my C win form application but i really don't know how to? Where should I add those files?
Thank you for your help!

Regards, Stanley.


Fair
Guest
Quote
2016-02-10 12:58:15

Simply to get started add the correct .DLL to your projects references then add "using irrklang;" to your main form.

After which the documentation a tutorials should answer most things. Depending on what you want to achieve.


Stanley
Guest
Quote
2016-02-10 15:46:10

Sorry, but i dont get it what i exatcly need to add. Could you please tell me that which dlls I need to add and I read something about lib files. Should I do something with them too?
Thanks!


Fair
Guest
Quote
2016-02-10 18:45:11

No worries sorry if I was vague.

Now as far as I am aware there's no support for C in winforms so I'm assuming a typo of either C or C++ here also assuming C(also I dont really know C++ in this context).

From the downloaded files.

C
64bit;

Add the irrKlang.NET4.dll from "bin\dotnet-4-64\" in the downloaded folder as a reference in your project. If you're planning on adding MP3 or Flac support into your project you'll need to add the "ikpMP3.dll" and "ikpFlac.dll" from the same location to your project by adding them as files rather than references. Set them to copy to output directory.

32bit

Add the irrKlang.NETxxx.dll(xx being .net version) from the .net folder you're targeting. and the corresponding ikpmp3 and ikpflac dll same process as the 64bit version.

In both cases you'll want to add "using IrrKlang" just under your namespace open tag.

Now you can follow this for intro into using the engine;
http://www.ambiera.com/irrklang/...


If since you're talking about libs you meant C++ then the lib is found is found in "lib" section of the main folder. Adding those involved referencing them in the linker. If on Visual Studio then;

Project Properties -> Linker -> Input -> Additional Dependencies

After that follow;

http://www.ambiera.com/irrklang/tutorial-helloworld.html

I'm not really that clued up on how C++ applications work my apologies so I rather hope you're talking about C :).


Fair
Guest
Quote
2016-02-10 18:46:43

O ok appears this forums software doesn't like the hashtag so you did mean sharp :D.

Hopefully what I wrote does help you.


Stanley
Guest
Quote
2016-02-10 20:16:00

Thank you very much. I did it successfully about your describe. Yes, I meant CSharp but the forum cut my hashmark. :) I'm really grateful for your help!


sy
Guest
Quote
2019-10-25 04:37:36

Thx, you saved my time!


eaglesha
Registered User
Quote
2020-03-17 14:16:36

Simply to get started upload the right.DLL on your project's references then upload "using irrklang;" in your most important form.

After which the documentation tutorials have to solution maximum things. Depending on what you want to reap.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons