0
0

Now, this might be me doing something dumb because I am new to C#, but I’m getting an error in the FMOD code when I attempt to compile. I’m using Visual Studio 2005 Edition, and downloaded the most recent release version of FMOD.

So what does it do? Well, when I try to compile I get an error as follows:
F:\Projects\Projects\SDLNet Test\SDLNet Test\FMODAPI\fmod.cs(286,38): error CS0266: Cannot implicitly convert type ‘uint’ to ‘int’. An explicit conversion exists (are you missing a cast?)

I cant see why this would or would not work, as I said I’m new to C# and may have overlooked something that is simple to setup, but isn’t spelled out for me.

Anything that you guys can tell me would be appreciated, and any suggestions are always welcome.

  • You must to post comments
0
0

Hi,

We’ve had this reported before with VS2005, you can fix the error by changing line 286 to:
[code:36z4aq3e]
ALL = unchecked((int)0xffffffff)
[/code:36z4aq3e]

We’ll get this fixed up for the next release which should be this Thursday.

Thanks

  • You must to post comments
0
0

Thanks for the reply. The compiler told me I could do that, but I wasn’t sure if I’d break something if I did, so I thought I’d ask just incase.

Cheers again.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.