Weird Error

This is a discussion on Weird Error within the C# Programming forums, part of the General Programming Boards category; Ok, my programme is coming along nicely. But something weird is happening. Basically, its a game, and you press End ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    129

    Weird Error

    Ok, my programme is coming along nicely. But something weird is happening. Basically, its a game, and you press End Turn to erm, end the turn, but an error comes up. Its your standard array whoopsie about not being the right size (I'm in the library, I have no net access...). But when I try debugging it in VS .NET (7, is 2003 right?), it says that there is no code related to the error, and takes me to a screen full of gobbledegook. It is the same stuff each time, no changes that could be linked to a hardware fault (first time it happened, i went mad with prime95 and tons of ram checkers etc).

    Could this be related to .NET Framework, and the fact I might/have/etc installed new versions? I think it used to be fine with 1.1, but could 2.0 be a right pain for this kind of thing?

    Sorry about the looseness of the description, but am I heading in the right direction?
    He who asks is a fool for five minutes, but he who does not ask remains a fool forever.

    The fool wonders, the wise man asks. - Benjamin Disraeli

    There are no foolish questions and no man becomes a fool until he has stopped asking questions. Charles Steinmetz

  2. #2
    Registered User
    Join Date
    Mar 2005
    Posts
    22
    Your first thoughts of what the problem may be should not be malfunctioning hardware/problems with .NET -- it should be your code.

    Not much anyone can do without seeing the code in question.

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    129
    I'll try and get to a comp where I can upload that info. As far as I can remember that part hasn't changed since I last successfully built and ran the program.
    He who asks is a fool for five minutes, but he who does not ask remains a fool forever.

    The fool wonders, the wise man asks. - Benjamin Disraeli

    There are no foolish questions and no man becomes a fool until he has stopped asking questions. Charles Steinmetz

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    129
    You were right. But so was I...

    Just a standard array out of bounds error, but because I had .NET framework 2 installed before VS installation, it goes belly up when there's an error.

    Now I just have to figure out why my code for the array is going wrong, I swear it's right!
    He who asks is a fool for five minutes, but he who does not ask remains a fool forever.

    The fool wonders, the wise man asks. - Benjamin Disraeli

    There are no foolish questions and no man becomes a fool until he has stopped asking questions. Charles Steinmetz

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 03:35 PM
  2. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  3. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 09:33 AM
  5. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21