[Gtk-sharp-list] C# binary issue

Stifu stifu at free.fr
Thu Jun 25 11:16:29 EDT 2009

Here's what I'd do (feel free to ask a programmer for help if you struggle):

1- Open the source code in an IDE with that supports debugging (Visual
Studio or SharpDevelop on Windows, MonoDevelop on Linux)
2- Go to the gameClass.Game.initRooms () method, and look where it converts
a string to int
3a- If you're debugging with .NET, put a break point right before the
conversion, and note down the string value (assuming the exception is always
triggered... you could also note down several passed string values just in
3b- If you're debugging with Mono, run the app in debug mode, make the
exception to occur, then note down the string value that caused this.

If you can hand out the sources (or if they are public), I don't mind doing
it myself. It shouldn't be much work.

Cere wrote:
> Hello,
> I do have access to the source code but i do now know what to look for. I
> can provide snips from the code if someone would give me a hint as to what
> to look for. 
> Stifu wrote:
>> It's a closed-source program, right?
>> It would help to know what string(s) passed to the method cause this
>> exception. I guess Mono is more strict than .NET when converting a string
>> to int. If you don't have access to the program sources, it would be nice
>> if the app author could help (if he can't check with Mono himself, he
>> could just give you a list of examples of the strings converted).

View this message in context: http://www.nabble.com/C--binary-issue-tp24184437p24205220.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list