C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2712
Number of posts: 5738

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Object of type 'System.SByte' cannot be converted to type 'System.Byte Posted by Genus001 on 10 May 2011 at 7:55 PM
I have been working on this game project for around 3 months now. It has been going great, except for this one error that doesn't make much sense.

Here is the code: http://pastebin.com/FExjqdKk

The error is on line 655(655 with full code), which contains this:

((FieldInfo)m_bind.m_Member).SetValue(obj, value);

Where is the byte in this error?

Here is a picture of the full error in my console: http://i.min.us/int7yi.png

If you can give an example of how to fix this error, it would be greatly appreciated.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.