Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Azmuth

Pages: [1]
1
Thank you so much, your solution did resolve this problem. I totally agree it was very inefficient. Now I only have one copy of Font object in main and pass it by reference to the MenuBtn objects.

2
General / Im getting exception thrown "Access violation reading location"
« on: September 26, 2023, 11:40:14 pm »
Hello, I have created a project in Visual Studio 2019, configured SFML, confirmed it was working with the example drawing of a simple texture. Right now, I am getting an error:
"Exception thrown at 0x00007FFC0A282B19 (sfml-graphics-d-2.dll) in sfml-app.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. occurred" and I do not understand why. I have attached my code - the part that causes this in main.cpp - lines 47-52, 57-58. Seems like it is somehow connected to the vector, but I can't figure out the cause.

Please help me!

Pages: [1]