Hello everyone.
I had to use some functions to load a file called "Output.bin", so I used my friend's files (In C#). I imported the project. However, his project uses his classes. So parts of his project are using his "Map" class (I have the exact one in VB). So.. it was a problem. He helped me by casting his Map class to mine using a T variable. However, in some parts of my project, I had problems with it, so I decided to rewrite his files in VB.NET.
His files work flawlessly (Their purpose is to load an output.bin file with lots of vlaues and add them to dictionaires). However, mine doesn't, I don't know why. I attached a link to the .bin file and 2 of the projects, if anyone can help me to show me what are my mistakes by comparing the two.
Or, please, tell me how is there another way to cast my map class through his files, for example, when he uses:
I want the "Map" class to be mine, and not his. The one in my project. Something like:
This is a link to download 2 of the files (One in C# (his) and one in VB.NET(mine)).
http://hostr.co/HuDbiUAZfRwK
I'm not attaching the whole project because it's a big project and there's no need to.
Thanks.
I had to use some functions to load a file called "Output.bin", so I used my friend's files (In C#). I imported the project. However, his project uses his classes. So parts of his project are using his "Map" class (I have the exact one in VB). So.. it was a problem. He helped me by casting his Map class to mine using a T variable. However, in some parts of my project, I had problems with it, so I decided to rewrite his files in VB.NET.
His files work flawlessly (Their purpose is to load an output.bin file with lots of vlaues and add them to dictionaires). However, mine doesn't, I don't know why. I attached a link to the .bin file and 2 of the projects, if anyone can help me to show me what are my mistakes by comparing the two.
Or, please, tell me how is there another way to cast my map class through his files, for example, when he uses:
Code:
public static Dictionary<int, Map> Maps { get; set; }
Code:
public static Dictionary<int, ProjectA.Map> Maps { get; set; }
http://hostr.co/HuDbiUAZfRwK
I'm not attaching the whole project because it's a big project and there's no need to.
Thanks.