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.
- Schmacker asked 11 years ago
We’ve had this reported before with VS2005, you can fix the error by changing line 286 to:
ALL = unchecked((int)0xffffffff)
We’ll get this fixed up for the next release which should be this Thursday.
Please login first to submit.