lol, woops. Code is fixed now, thanks
Just as a note, when you get 'Access violation' you are trying to read/write to memory that's not yours.
In many cases, this is when a loop is incorrect, so that would be the first thing to check for.
Also, don't forget to mark the thread as 'solved' at the top of this page (: