0
0

Hi folks,

I was wondering if anybody could tell me how to import and use the FMOD enum types in a Visual C# project?

I am successfully using the FMOD functions but am having no joy referencing the FMOD types.

Sorry to post such a benign query 😳

Thanks in advance,

Jules

  • You must to post comments
0
0

just declare the FMOD enums in your c# project so they match up to the one’s in the c header.

ie
[code:19nqjh32]
enum FMOD_ERRORS
{
FMOD_ERR_NONE, /* No errors /
FMOD_ERR_BUSY, /
Cannot call this command after */

....etc ....

};[/code:19nqjh32]

in c#:

[code:19nqjh32]
public enum FMOD_ERRORS
{
FMOD_ERR_NONE,
FMOD_ERR_BUSY,

...etc ...

}
[/code:19nqjh32]

  • You must to post comments
0
0

Thankyou :)

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.