So Hi I'm new to the forum and I've come across an issue, I'm trying to create a beginner pong game, but I'm getting this error after trying to add paddles or "bar" Unhandled exception at 0x00a517bd in Pongattempt1.exe: 0xC0000005: Access violation reading location 0x00000004.
Not really sure whats going on and have checked my code several times and even re-written a large part of it and can't seem to find what the issue is, thanks for any advice/help you can give.
Well I had a similar issue with ball, as I typed pmp instead of bmp, but this time I'm sure it is spelt correctly, so I'm not sure what else could stop the file loading
Thanks for the assistance, I modified that little bit of code with allegro_message and it did show that the image wasn't loading correctly, I checked the names carefully and they were a match, but after changing the name from bar to paddle and then renaming my variables it started to work.
Thank you very much for taking the time to help me with it.